- Home /
Spot light not casting shadows onto toon shaded objects
I have the rendering path set to "deferred" in the player settings; tried "soft" and "hard" shadows setting on the spotlight; the materials are set to cast and receive shadows; quality setting is "fantastic".
Am I doing something wrong, or is this kind of dynamic lighting still a pro only feature?
In the screenshot, you can see that the sphere does not cast a shadow onto the cube, and neither of them cast one onto the terrain. A directional light did work.
By changing the bias value of the spot light I got it to work, but not on toon shaded objects, only on standart material. So will the toon shader generally only react to directional lights, or am I still doing something wrong?
Answer by coding_crow · Mar 13, 2015 at 10:25 AM
Ok it seems this is just the way the toon shader behaves, PLUS I had to change the bias values on the light. If you came here with the same problem, someone wrote a modified version of the toon shader which seems to work as far as I can tell.