Search Unity

Sunlight at the end of closed corridor?!

Discussion in 'Global Illumination' started by Asset-Ninja, Oct 2, 2016.

  1. Asset-Ninja

    Asset-Ninja

    Joined:
    May 9, 2015
    Posts:
    13
    Hi!

    I have a closed corridor with only one opening. The whole scene has only 1 light: sunlight.
    The sunlight is pointing directly down, to the ground.
    How is it possible, that there is light at the end of the corridor?!!

    Feel free to post!
    Thank you in advance.

     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,724
    Play with the light's bias settings?
     
  3. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,913
    What colour is the light? And what is that red thing at the bottom? Part of the skybox or a floor?
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,724
    Is that video related? That's just too low Bias settings.
     
  5. Asset-Ninja

    Asset-Ninja

    Joined:
    May 9, 2015
    Posts:
    13
    Hi! The red thing is the floor. It has nothing to do with the bias. When camera moves the floor gets lit more or less depending on the camera direction. I will make a video today with the actual behaviour. It is ridiculous.
     
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,724
    Can you share the scene? It's hard to understand what is going on from that image and it could be a number of things.
     
  7. Owers

    Owers

    Joined:
    Jul 7, 2012
    Posts:
    39
    I'd say it's the shadow distance, the roof of the corridor is not casting shadows onto the floor in the distance because the setting is too low. Maybe consider increasing the shadow distance in your projects Quality settings or baking shadows to a light map.