Hi,
Does anyone know how to make an object cast shadows on other objects, receive shadows from other objects BUT not receive it’s own shadow?
I would like to output a shadow AOV with the shadow from a volume on the surrounding environment, AND ONLY this shadow information, no other.
I used this topic, but could not go any further:
https://forums.odforce.net/topic/12615-shadow-catcher-material/ [forums.odforce.net]
In the end what I would like to have is a pass with:
- C = the volume with shadow from the set onto the volume
- AOV my_shadowmatte = only the shadow of the volume on the set (without the set’s self shadowing)
And I am not even sure this is possible at all
So far I can only have:
pass 1 with:
1a- C = the volume with shadow from the set onto the volume
1b- AOV my_shadowmatte = shadow of the volume on the set AND the set’s self shadow (both are mixed and therefore cannot be separately tuned in comp)
or pass 2 with:
2a- C = the volume WITHOUT the shadow from the set onto the volume
2b- AOV my_shadowmatte = shadow of the volume on the set only
I could render both passes and give them to comp, but that makes me render the volume twice
So I would like to have pass3 = 1a + 2b in one render pass only, so that I can save one volume render
Makes sense?
Is there a way in the shader to know what object occludes the light, I could use that in the shader maybe?
thanks!
shadowmatte - set object to cast shadows, but not on itself
5298 5 2- bebe
- Member
- 53 posts
- Joined: 6月 2009
- Offline
- Bretislav Kaspar
- Member
- 20 posts
- Joined: 5月 2014
- Offline
- bebe
- Member
- 53 posts
- Joined: 6月 2009
- Offline
Hi
thanks for looking into this
I am using Mantra, on Houdini 17.5.391
Regarding light mask they both need the same light to have the same shadow
It's just that in the shadowmatte aov I want the shadow from the volume only, and not the shadow from the catcher (the environment geometry) BUT I still want the shadow from the environement on the volume in the beauty
Not sure this explanation makes it clearer, let me know
thanks!
thanks for looking into this
I am using Mantra, on Houdini 17.5.391
Regarding light mask they both need the same light to have the same shadow
It's just that in the shadowmatte aov I want the shadow from the volume only, and not the shadow from the catcher (the environment geometry) BUT I still want the shadow from the environement on the volume in the beauty
Not sure this explanation makes it clearer, let me know
thanks!
- Angel Fucaraccio
- Member
- 55 posts
- Joined: 10月 2018
- Offline
- Bretislav Kaspar
- Member
- 20 posts
- Joined: 5月 2014
- Offline
- Bretislav Kaspar
- Member
- 20 posts
- Joined: 5月 2014
- Offline
I tried above, not luck, but take a look here. Maybe it can move You somewhere.
https://forums.odforce.net/topic/12615-shadow-catcher-material/ [forums.odforce.net]
https://forums.odforce.net/topic/12615-shadow-catcher-material/ [forums.odforce.net]
Edited by Bretislav Kaspar - 2019年10月22日 09:14:02
-
- Quick Links