PDA

View Full Version : Simple issue with opacity maps and MR


jroberson
08-29-2009, 06:38 PM
I'm trying to do a very simple render with a leaf texture using a Maya lambert texture. I have the color/diffuse channel occupied with the color map of the leaf, and the transparency channel occupied with the black and white alpha/opacity map. I have raytrace shadows enabled via a spotlight, and a very simple ground polygon plane. The leaf texture is mapped to a curved poly plane.

Now, when I render with Maya's Software Renderer, I have no issues. The leaf renders out properly with the proper raytraced shadows. When I render with MR, I get the entire plane, no transparency, and a shadow that's cast by the leaf's entire ploy plane. In other words, the stenciling effect created by using an alpha map does not seem to work immediately in MR.

Why will MR not recognize the simple alpha map? I've turned the shadow attentuation on the leaf's lambert shader down to zero, as that was the default. I've searched bit, and looked in the documentation, but I've not found an answer. I've tried to use the mib_shadow_transparency node for MR, but I'm unsure how to use it properly.

leif3d
08-29-2009, 07:14 PM
You should try the search function of the forum. This question has been asked a bunch of times.

I'm literaly copying my answer from a post in the same page...
Here it goes:

"What I've always done is click "Use Maya-Style alpha detection on file textures" under the Rendering Preferences and I've never had a problem since.
I also turn off texture filtering at all times..."

jroberson
08-29-2009, 09:45 PM
Thank you. I had seen that solution somewhere else, perhaps here, but I misunderstood part of the solution. I thought, at the time, 'Use Maya-Style alpha detection on file textures' was a feature on the render globals. Thanks again.

CGTalk Moderation
08-29-2009, 09:45 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.