Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

LWRP directional lights

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

  1. sebas77

    sebas77

    Joined:
    Nov 4, 2011
    Posts:
    795
    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:
    6,458
    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:
    795
    cool this is what happened very likely