Home Technical Talk

Maya: How do you render a lights shadow to a texture?

polycounter lvl 18
Offline / Send Message
kodde polycounter lvl 18
Anyone have any good ideas on how to render shadows to texture in Maya?
I only want the shadows and not the actual light/dark shading from the surface angle compared to the light.

I've been messing around with Ray Traced shadows and the Batch Bake(mental ray) feature, but it's hard to separate the shadows from the rest of the shading. Only crude workaround I found was setting all the vertex normals for the object to point towards the shadow casting light. That way all surfaces would get the same full amount of lighting and will I still catch the shadow in a bake with the Light Only setting in the Batch Bake. Feels very dodgy, but I can't come up with anything better at the moment.

I know how to mask shadows for offline renders with the Use Background shader, but how do you transfer that to textures? T_T

Any suggestions would be appreciated. Thanks.

Replies

Sign In or Register to comment.