Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Light passing through gameobject

Discussion in 'Global Illumination' started by Spoken_OS, May 6, 2015.

  1. Spoken_OS

    Spoken_OS

    Joined:
    Feb 15, 2015
    Posts:
    29
    Hello, I am having an issue with some light passing through an edge of a 3d Model. I uploaded an image of one of the models. It's simply a cube with two loop cuts and two extrusions. It's happening with a few other objects I have and I am not sure why.

    Edit: It does't pass through the opposite side by the way.
     

    Attached Files:

  2. Spoken_OS

    Spoken_OS

    Joined:
    Feb 15, 2015
    Posts:
    29
  3. topofsteel

    topofsteel

    Joined:
    Dec 2, 2011
    Posts:
    999
    I was having the same problem. I saw a post that said you can get rid of it by adjusting the directional lights bias. I couldnt find the post and I haven't tried it. Post back if it works.
     
    Spoken_OS likes this.
  4. Spoken_OS

    Spoken_OS

    Joined:
    Feb 15, 2015
    Posts:
    29
    Setting the normal bias to 0 worked. Thanks.