I have a plane as the ground, and I am animating a character to walk across the plane. The plane is a shadow catcher, because I'm doing VFX and I want to add shadows to the ground in the video, to make it more realistic. When the characters food slightly goes through the shadow catcher, it makes a dark spot where the foot goes through the plane. I'd like everything that goes through the shadow catcher to be invisible, so when the bottoms of the feet slightly go through the plane, there won't be any shadow issues. (See Attached Photos) If anyone can help, I'd appreciate it!
1 Answer
$\begingroup$
$\endgroup$
3
If it is a plane...you can use this very simple basic setup: (thanks to vklidu for the modified version with more charm)
result:
-
2$\begingroup$ Plug Texture Coordinates > Object directly to Separate XYZ node and use Shadow Catcher object as Z controller. i.imgur.com/zeaIaoG.png Since shadow catcher necessarily doesn't have to be on Z zero location it will respect exactly its position. $\endgroup$– vkliduCommented May 13, 2021 at 8:49
-
1$\begingroup$ thanks vklidu, learnt from you!! ;) i changed my answer. But of course you could have used mine too if you just adapt the threshold to the z-value of the plane - but yours has more charm!! $\endgroup$– ChrisCommented May 13, 2021 at 10:23
-
$\begingroup$ Chris And Vklidu Thank you! Problem solved!! $\endgroup$ Commented May 13, 2021 at 14:59