This lighting/shadowing bug is SO ANNOYING.
Iâve spent 20+ hours trying to diagnose it, and has become a serious roadblock in my progress. Iâve checked light source settings, level lighting settings, project lighting settings, geometry UVs, geometry normals/tangets, etcâŚ
The cause seems to be enabling Dynamic Shadows on the Directional Light, and the problem is most easily seen on landscape or terrain with some slopes on it.
This problem can be reproduced easily in UE5 by creating a new project, adding a bulge to the terrain, then Play and observe how the shading artifacts occur around the bulge. Right out of the box!
I want to say that this problem is ârelatedâ to shadow maps, but no amount of fine tuning those fixes it. Not resolution, not bias, not any of the thousand other settings, nothing fixes it.
There is no acceptable fix I have found on Epic forums or Google or Discord servers, other than changing your lighting methods and making compromises. I want to use Dynamic Shadows on the Directional Light. If thatâs not production ready then why did they include it?
The only workarounds Iâve found so far are A) turn on Raytracing and the issue goes away (requires high end PC) or B) include a second Directional Light with Dynamic Shadows disabled so as to âwash outâ the artifacts of the other light (hacky, reduces quality, twice the performance impact).
How are all the thousands of Unreal developers out there handling this issue? None of them using Directional Light with Dynamic Shadows?
It really takes the wind outta my sails.