View Full Version : How to Render just Shadow in Mental Ray?

05-27-2010, 08:33 AM
hi there,

i try to render in different passes it realy works great.
But if i activate Shadow pass and take a render the floor with the texture is included in the still render.

My question is : How can i render just the shadow with alpha to comp in in ps?

Thanks for comments

05-27-2010, 01:53 PM
HI, Philmorris so i can try show..... Im used Production Shader, MR

you need Node (Lambert) connect Mip_matteshadow, in Material Shader (Node Lambert), next you connect Mip_Rayswitch in Background (Mip_matteshadow), next you connect Utilities from Maya, MultplyDivide in EYE (Mip_Rayswitch) and Next connect Mib_Color_Alpha (MR TAB DataConversion) in SHADOW (Mip_Rayswitch), and Be Happy! :)

follow screenShot:

05-27-2010, 03:01 PM
You could also use the background shader applied to the object you want shadows on and turn off the primary visibility on the shadow casting object. On the background shader set all reflection properties to 0 and set the Occlusion Mask to 0 under the Mental Ray tab.

CGTalk Moderation
05-27-2010, 03:01 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.