Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Shadows not rendering correctly

Discussion in 'General Graphics' started by hesaiter, Aug 31, 2016.

  1. hesaiter

    hesaiter

    Joined:
    Jun 23, 2016
    Posts:
    3
    I recently noticed that the shadows being cast in my project are not casting correctly. I'm not quite sure how to explain it, so here are some screenshots of my issue:






    I have changed the bias on my light to 0, which makes the gap in the shadows slightly smaller, but still quite ugly.


    Has anyone encountered this issue before, or know how to fix it?
    Thanks.
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,936
    Don't use point lights? :)
     
    theANMATOR2b likes this.
  3. hesaiter

    hesaiter

    Joined:
    Jun 23, 2016
    Posts:
    3
    So there's no way to use point lights without this occuring?
     
  4. DroidifyDevs

    DroidifyDevs

    Joined:
    Jun 24, 2015
    Posts:
    1,724
    Directional light?:eek: Anyone? No? :(

    Also I suspect your cube is raised off the floor. Try overlapping the cube and floor by lowering the cube. If all fails then you can reset your light to default.
     
  5. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,886
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,936
    Spotlights are also better in this regard.
     
  7. PeteUnity3D

    PeteUnity3D

    Unity Technologies

    Joined:
    Jan 4, 2016
    Posts:
    68
    Have you experimented with changing the Shadow project type within the quality settings?

    There are two different methods for projecting shadows from a directional light.
    Close Fit renders higher resolution shadows but they can sometimes wobble slightly if the camera moves.
    Stable Fit renders lower resolution shadows but they don’t wobble with camera movements.
     
    DroidifyDevs likes this.