I’m using UE5 and currently facing a problem with the DirectionalLight from SunSky. I have a big warehouse where when the camera get far from the start the shadows from the roof start acting strange. It’s like some parts of the roof stop existing as I rotate the camera and the light pass through. Like the image bellow, when I get closer to the end the light pass through the roof.
I tried several settings from the directional light and mesh without success, then I place a cube with similar dimensions and the shadows appear to act better but still pass at some places, so I tried to remake the mesh in blender using only “cubes” with more thickness overall but still the shadows act strange.
Someone can help me to solve this problem? Thanks.