PDA

View Full Version : ambient occlusion mode 1 environment sampling problem


j00ey
01-05-2007, 02:06 PM
Hi
I'm trying to use the amb occ to get the ambient environment light contribution and I get the result I'm expecting plugging it into the color slot of a surface shader but I want to use a bump map too so I figured use a lambert but this gives a much more saturated, basically wrong result. I've tried using a MR lambert with the IBL excluded from the light list but I just get a black render.
Does anyone know how to get this pass and use a bump map at the same time?
Thanks in advance
j00ey

Tim Mews
06-28-2007, 11:08 AM
Hi

Use a Maya standard phong shader, plug the Mental Ray mib_amb_occlusion into the incandescence of the phong. In the phong make sure you turn all other parameters off, the colour to black and reflection to zero. It should look the same as using the surface shader, you can then use the bump slot in the phong as usual.

I did a quick test and it seemed to work fine.

Tim

CGTalk Moderation
06-28-2007, 11:08 AM
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.