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

Shadows artifacts. How can I get rid of them?

Discussion in 'Global Illumination' started by kurai, Jun 17, 2015.

  1. kurai

    kurai

    Joined:
    Jan 9, 2012
    Posts:
    118
    Hi there!
    I tried to use GI in my project, but if I do the shadows show strange artifacts like the ones in the picture below. What can it possibly be? It's like my meshes have holes (which they don't), so I'm puzzled.
    Any ideas?

    Screenshot 2015-06-17 17.49.39(2).png
     
  2. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,462
    This is often caused by leaky models. Unwelded vertices, stuff not being water tight, gaps between edges, screwy normals etc.. Sometimes you can increase the overall quality of the lighting to remove them but typically if this is the issue behind it then you should fix the model.
     
  3. QuasiHobo

    QuasiHobo

    Joined:
    Aug 19, 2012
    Posts:
    15
    Try setting your models cast shadows to "two sided" - And bringing the shadow bias down to 0 on the light source that cast your shadows..
     
  4. Hjeldnes

    Hjeldnes

    Joined:
    Jul 22, 2012
    Posts:
    116
    You could maybe also try to adjust the normal bias.