Search Unity

Unrealistic shadows

Discussion in 'Global Illumination' started by laur-ganta, Mar 26, 2015.

  1. laur-ganta

    laur-ganta

    Joined:
    Oct 22, 2014
    Posts:
    24
    Hello!
    I have a directional light on the scene and it created these shards of shadows on round object.
    How do I fix this (see attached file)?
     

    Attached Files:

  2. alexandre-fiset

    alexandre-fiset

    Joined:
    Mar 19, 2012
    Posts:
    715
    This can be fixed with the "bias" value on your light.

    You should also check your normal map setup and verify that is is correctly imported (flagged as normal map). Self shadowing seems to work well on the other parts of the suit where the normal map is not flat.

    Another option is to increase the resolution of your mesh and make sure you smooth its normals and vertex to avoid rough edges.
     
    laur-ganta likes this.
  3. laur-ganta

    laur-ganta

    Joined:
    Oct 22, 2014
    Posts:
    24
    Thank you for you answer. Increasing the bias by a small value fixed this for now, but if I'll have problems in the future I'll set up the normals.