No matter what I do, I can't seem to stop the sunlight from 'leaking' through the meshes. Is there any solution?

For this project, I’m using screen space, and there’s nothing connected to Pixel Depth Offset in the material either. Even after adding basic cubes around the entire structure, the directional light isn’t being blocked.

image