Search Unity

LWRP directional lights

Discussion in 'General Graphics' started by sebas77, Apr 23, 2019.

  1. sebas77

    sebas77

    Joined:
    Nov 4, 2011
    Posts:
    1,642
    is there a limit on the number of directional lights supported by LWRP? I was told it is one, which seems to be the case, but it seems that I am able to make two directional lights work albeit with just one casting shadows
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,336
    The LWRP does not appear to support multiple directional lights. However, non shadow casting directional lights can be baked into the spherical harmonic ambient lighting at runtime, which the built in rendering paths can do as well.
     
    sebas77 likes this.
  3. sebas77

    sebas77

    Joined:
    Nov 4, 2011
    Posts:
    1,642
    cool this is what happened very likely