Search Unity

Interior & Exterior Lighting Bake Problem

Discussion in 'Global Illumination' started by Cody-Rauh, Mar 27, 2017.

  1. Cody-Rauh

    Cody-Rauh

    Joined:
    Oct 12, 2013
    Posts:
    256
    The Exterior of my building seems to negatively effect my interior bake when the directional light has shadows enabled. The result is this.

    http://imgur.com/a/gkPSY

    The result when directional lights exterior are not enabled is:

    http://imgur.com/a/NUF5c

    It is only directional lights that give the error effect not area, or spot.
     

    Attached Files:

  2. Cody-Rauh

    Cody-Rauh

    Joined:
    Oct 12, 2013
    Posts:
    256
    If shadows are enabled for directional light, it darkens the area. If disabled then it illuminates the area. The interior however shouldn't be affected by directional external light.
     
  3. Flavelius

    Flavelius

    Joined:
    Jul 8, 2012
    Posts:
    945
    for me the lighting system bugs out here and there and leaves certain objects half black, it helps when i save the scene or reopen unity, so it reloads the lightmaps (if baked, otherwise i have to rebake and clear again), the second image looks like what i experienced, but that may just be coincidence. Also if you have lightprobes, you may need to rebake.
     
  4. Cody-Rauh

    Cody-Rauh

    Joined:
    Oct 12, 2013
    Posts:
    256
    I have tried closing, reopening but doesn't fix it. no light probes yet.
     
  5. Cody-Rauh

    Cody-Rauh

    Joined:
    Oct 12, 2013
    Posts:
    256
    Also it is baking the entire scene all models, yet model is either being illuminated or shadowed incorrectly.
    Soon as you turn off directional light bake displays correctly.