urp-toon-shader
urp-toon-shader copied to clipboard
Spotlight Compatabilty
Hi - I see the project is no longer maintained, but hoping someone still might see this. I have a scene with 4 directional lights and 4 spotlights. The directional lights are Mixed - Baked Indirect and the Spotlights are Realtime. I cannot get objects shaded by the toon shader to interact with the Spotlights at all. I've tried all sorts of combinations of modes and settings, but no luck.
Anyone have thoughts? I'm super new to lighting with URP.
The toon shader should work fine with spotlights (at least on 2021 LTS, which is the latest version it was updated for). I have an idea though: what's the "Per Object Limit" value set in your URP pipeline asset? It might be that your setup hits the limit.