Search Unity

5.3.1 Realtime Directional Light Shadows DARKEN Baked Lightmaps in Forward. BUG?

Discussion in 'Global Illumination' started by ruj, Jan 21, 2016.

  1. ruj

    ruj

    Joined:
    Feb 28, 2013
    Posts:
    113
    I am finding that the shadows from my directional light are DARKENING my baked lightmaps, rather than the light just not applying in the shadows. Is this intended behavior? This only seems to happen in forward rendering, in Legacy Deferred at least it seems to work fine.

    Does anyone know what is going on with this? Some images to illustrate:


    and the same shot with the directional light turned OFF

    Please help, I am about to lose my mind fighting with this.
     
  2. ruj

    ruj

    Joined:
    Feb 28, 2013
    Posts:
    113
  3. Sannyasi

    Sannyasi

    Joined:
    Nov 20, 2012
    Posts:
    36
    Don't know if you two have a solution for this, but it is still an issue as of 5.4.2f2
    A workaround I've found is to use a cookie in your light.

    Though it will cause other (less noticable) oddities in the shadows
     
    Last edited: Dec 17, 2016