Shadow pass for one object
2912
3
1
eitht
Member
257 posts
Joined: 11月 2010
Offline
2012年8月2日 8:56
Hi guys, I am getting shadows of both my sphere and grid (assigned with Shadowmatte shader) in the render below, I only want to have the shadow of my sphere. Making the grid a phantom makes both objects' shadows disappear. Anybody can help me get around this? eitht.
Attachments:
sphere_shadow.png (157.2 KB)
tamte
Member
8619 posts
Joined: 7月 2007
Online
2012年8月2日 10:14
use shadow mask on your lights to exclude ground from shadowcasting so it would be something like * ^groundname
Tomas Slancik FX Supervisor Method Studios, NY
tamte
Member
8619 posts
Joined: 7月 2007
Online
2012年8月2日 10:19
or you can possibly make it invisible to shadow rays by setting it's opacity to 0 when shadow ray is detected (Is Shadow Ray VOP)
Tomas Slancik FX Supervisor Method Studios, NY
eitht
Member
257 posts
Joined: 11月 2010
Offline
2012年8月3日 2:36
Thanks tamte! the shadow mask solved it, I am not so familiar with the VOP solution - maybe I can look into that soon! :shock: eitht.