Search Unity

LWRP, Shadow cascades and Spotlights.

Discussion in 'General Graphics' started by mehrankan, Mar 25, 2019.

  1. mehrankan


    Apr 12, 2015
    Well the title says it all, I am stuck with using a spotlight in place of a directional light as the main light in a scene, so I end up with terrible shadow quality. As far as I can tell, the spotlights in LWRP (4.10.1) do not respect the shadow cascades (just like the built-in pipeline).
    Is there something I am missing, if this IS the case, than can you guys recommend me a work around?
    I see the cascades option literally saying that it is for directional shadows, so I guess I am out of luck.
    Here is a cube with a spotlight on a simple terrain, lit by a single spot.
    Here I have switched the light type to directional.
  2. aleksandrk


    Unity Technologies

    Jul 3, 2017
    Directional lights and spotlights are rendered differently.
    Cascades are only used for directional lights.
    Spotlights are a subset of point lights, so you have to tune the settings for those to have any effect.

    Why are you trying to make a spotlight your main light in an (seemingly) outdoor scene?