Edit: I have reformulated the question, see the second post.
Hello, several years ago I asked this but got no answer, to this day I still have the same problem. I will ask again but with visual examples.
Unity seems to have problems with shadows in very large scenes. I have this scene, it is a terrain of approximately 120km², generated in runtime, so I cannot baked the scene. There is also a day and night cycle and the light changes position.
The problem is that I have to choose between seeing the shadows up close correctly or seeing shadows in the distance. I give you examples of how it looks at long distance:
1- Image with Shadow Distance at 60000:
2- Image with Shadow Distance at 150:
Now a short distance:
1- Image with Shadow Distance at 150:
2- Image with Shadow Distance at 60000:
The Unity version I am using is 2018.3.7f1, I don’t know if this is something that they have fixed over time. I read in this thread that HDRP increased the distance shadows up to 5 miles but I can’t go to HDRP yet because I use assets like Overcloud that have not been adapted yet.
I have also read that a solution would be to use multiple cameras, I have tried it but there is the problem that the shadows start to fade out as they approach the far clipping plane, which they describe in this thread .
With this solution I have also noticed a flickering shadow problem that does not disappear even if I increase the “normal bias” to the maximum.
In short, is there any solution to be able to see the shadows at close range correctly and at long distance? Anything. Or do I consider it impossible? (Until Unity find a solution).
Help, please? No one knows how to fix this? Can anyone help me?
You can try make the first cascade distance extremely small? You might also try changing light.shadowCustomResolution. It’s unclear to me if it makes a difference over 4k (very high quality) or not, and it gets clamped to the max the hardware supports. Worth a quick try to see if it does anything.
Unity have stubbornly refused to make that shadow fade out an option for several years now. It’s disgraceful.
Thank you very much for responding. I had been asking for help for a long time.
Yes, the first cascade distance is extremely small, I was doing a lot of testing and changes. This is the best configuration I got in the Unity 2018.3.7f1 version, it’s the greatest distance and at the same time that the nearby shadows can be seen well:

I have tried to change the shadowCustomResolution to 8192 and there is improvement, I can increase the distance a little more, although the performance suffers somewhat. Either way it is a possible temporary solution. Thanks a lot. ![]()
In the Unity 2020.2 release there is a slight update to the shadows. Maybe it helps in this problem?




