- Home /
Have object cast shadows except self-shadow
Hi,
Is it possible to have an object cast shadows only on other objects, but not on itself? I suppose it involves writing some shader code? I'm asking for this to realize invisible occluder objects which you need for Augmented Reality purposes. These are objects which are invisible, yet they can cast and receive shadows, and selected objects (the "occludees") that are behind those occluder objects (in image space) are hidden. I've already achieved this by combining two different shaders from the forum/answers, the only problem left is that these objects cast shadows also on themselves, making these objects visible again.
Your answer
Follow this Question
Related Questions
Shadow Support in Custom Shader 0 Answers
Edge outline & 2D shadow Shader for planar mesh 0 Answers
How to make shader outline without inner shadow? 0 Answers
Make this shader receive and cast shadow? Can anyone help me thanks! 0 Answers
Combine Basic Shadow Shader and Transparency Shader in Unity 0 Answers