Flickering Shadows

Hello! Im using the latest Unity with PPSv2 and Enviro… I have tried Tenkoku too for weather but both gives the same issue… the shadows are flickering… They dont sit still they flicker fast back and forth… Worse when I move sideways… But good when I look up? anyone?

Thanks!

Ultimately this is a long standing issue with Unity, however there are a few things you can do to improve it:

A) Make sure your scene / camera is as close to 0,0,0 as possible. As you approach +/-2k on X,Y or Z shadows start to get flakey even on good camera settings
B) If possible extend your near plane for the Camera as far as is feasible, reducing the far plane will help a bit but not as much
C) Adjust the shadow resolution and cascade settings (Generally this won’t affect the flicker, but will make edges cleaner)

1 Like

Thanks alot I will give a go tonight :slight_smile:

It just hard to get the camera close to 0… Well at start yes but not when the island is 4k

Ours is over 10k, flickering shadows are a fact of life for open world games in Unity.

Keep in mind a 4k map shifted 50% into negative on x and z is better than starting your terrain at 0,0 as all of it will stay within +/- 2000

Or use HDRP, which always has the camera at 0,0,0.

yes, I dont have this problem on another project in latest Unity 5.6 with the same assets, so… thats weird…

Okay I see, I have a procedural created world with Gaia so, I just change the position on the player where the camera is his head…

Yes, I would use HDRP but the assets have not been updated yet for the render pipeline… and guys, you have no working unity terrain for it :smile:

sssssooooon.

1 Like

I would like to note, that even though HDRP uses camera relative rendering (always renders from 0, 0, 0), the base of the problem still remains. Even in new HDRP versions (6.9.1, Unity 2019.2.7f2) the flickering shadows are still a problem. How is that not fixed? How was this bug even transfered to SRP?

Perhaps it’s a bug on your hardware/setup, as I don’t know of any issue like that existing. Can try posting in the graphics forums or making a bug report.