How can I make a shader where an object has a drop shadow behind another object?
I would like a coloured shadow below the pill in this screenshot.
Some random options:
-
enable shadows in whatever rendering pipeline you’re using, aim light straight down
-
put some kind of shadow projector on it, and set up layers so the ball itself is unaffected
-
make a shadow card sprite, set it just above the ground and move it yourself.
1 Like
I’m using a blob shadow projector with its shader having ZTest Always
but it’s drawing through all objects. See the vid:
enxqsk
How can I have a simple blob shadow painted below an object where it’s painted behind objects and not paint multiple times?
I’ve already tried adjusting Far Clip Plane but it doesn’t work.