#SpriteRenderer shadow

1 messages · Page 1 of 1 (latest)

opaque timber
#

Hey, I'm working on a 3D project but where everything is 2D, so I want them to be able to cast shadows. I got the Shader from this https://youtu.be/d_OBjV7c1CY
The problem is I can't change the color of anything this material is on. Does anyone know how to fix that? Or maybe achieve the result I want in another way?

Casting shadows from your sprites is as simple as pie. For some reason, Unity hides this by default, but I'm here to abuse the system and show you how to turn it on.

URP Shader link: https://bit.ly/34c0ttF

Original source: https://hananon.com/how-to-make-2d-sprite-cast-and-receive-shadow-in-3d-world-using-unity-shader-graph/

❤️ Become a ...

▶ Play video