Hi guys, I’m really a noob at shader coding, I found this shader that does almost what I need but has a problem, I need an object to be unlit, has a texture, and receives shadows form directional lights and point lights, specially the last one.
The idea is that I will have a quad or plane (facing up) in which I’ll be loading an image or movie texture, and the objects on top of it should cast shadows on this quad or plane. I need ir to receive shadows caused by a point light because thats what my client needs.
Here is the shader that receive shadows only from a directional light, I would need someone to add the point light support.
Wow! That’s fantastic. Thanks so much for sharing this!
There is just one thing I noticed…
When I apply the shader to my unlit texture the shadows on the object are completely black.
While the shadows casted on a Standart Material are slightly transparent. Is there any way to match the darkness of the shadows? So that the shadows on the unlit material are also slighly transparent? That would be awesome. Thanks in advance…