We’re seeing z-fighting on all of our shadows, both on the terrain and even on self-shadowing objects. Here are some examples:
It looks really minor in those static images but when the camera is moving these are very noticeable because the z-fighting seems to shimmer and your eye is attracted to it immediately.
Our camera has a near of 1.0 and a far of 3000.0, so there’s a lot of depth here. But can I raise the z-buffer depth or do anything about this?
I have the same problem, Unity 5 PC. Shadow Distance doesn’t seem to have any influence due to my experiments, concerning the flickering. Four cascades.
It all depends on your camera near and far clip plane, bigger distances lead to lower z resolution for your shadows.
Using multiple cameras to render one for near and one for the far of the screen is often the solution.
Adjust the near plane on your camera as far out as your game allows. This gives more resolution to your zbuffer, and decreases zfighting. While you’re at it, adjust the far plane on your camera as close in as you can as well. Hide any popping at the far plane with fog - it’s usually easiest to use linear fog as well, as you can directly set the start/end of the fog.
A Zbuffer is not linear - it has way more precision up close. So moving the near plane out is the biggest factor to give you more precision.