Search Unity

Why are shadows so ugly?

Discussion in 'General Graphics' started by GfK, Jan 30, 2015.

  1. GfK

    GfK

    Joined:
    Aug 15, 2014
    Posts:
    107
    Using Unity 4.6.1. Nothing more than a plane, and a single directional light with hard shadows enabled. Everything is at default.

    What's with the random black mess everywhere? :mad:

    This was just a test to make sure it wasn't my geometry screwing things up, as the shadows looked awful. Change shadow projection to 'stable fit' lessens the issue, but it's still there.

    Is this a bug or are there 'gotchas' I don't know about with Unity lighting?
     

    Attached Files:

  2. TheAlmightyPixel

    TheAlmightyPixel

    Joined:
    Jun 21, 2014
    Posts:
    263
    Is the plane something you've modeled yourself? Try to increase the shadow bias on your directional light, it should fix 'shadow acne' (that's what they call it on the Unity docs :p). I think it could help here as well.
     
    theANMATOR2b likes this.
  3. mdyusuf

    mdyusuf

    Joined:
    Dec 18, 2014
    Posts:
    8
    You should fix at first 'shadow acne' then you restart your shadow . I am hopfully your problem has gone.
     
  4. GfK

    GfK

    Joined:
    Aug 15, 2014
    Posts:
    107
    Thanks!