Search Unity

Unity 5 Terrain Shadows

Discussion in 'General Graphics' started by digitaljohn, May 17, 2015.

  1. digitaljohn

    digitaljohn

    Joined:
    Aug 14, 2012
    Posts:
    8
    I have been working on porting my game to Unity 5 and am constantly encountering issues. The first issue was the fact that baked/mixed lighting simply does not work correctly. After a recommendation, I was told tat the best way to go was 100% realtime with a large shadow distance (as in Unity 5 you can now adjust the cascade points).

    Now I'm getting issues with these shadows appearing correctly when running the game. I have uploaded two videos, one in the editor. (Correct shadows)



    And another when playing the build...



    You can see the shadows do not rest on / respect the terrain.

    Any thoughts? This is killing me slowly.

    John
     
  2. Findus

    Findus

    Joined:
    Jun 23, 2012
    Posts:
    111
    Saw this yesterday and can't really help, but since no one else replied so far:
    Did you try to replace your vehicle with a standard cam? Maybe something on the camera or the windows shader mess with the depth. Just a complete shot in the dark, might as well be a bug.