Distant meshes render black

Hi there,

I’m using UE 5 PReview. As you can see in the image attached, the indirect lighting (skylight) doesn’t affect the meshes/landscape and the shadows are totally black in the distance (just ignore the atmosphere). The more distant an object is, the more it renders black.
I just want to create a medium large world but there’s a black fog. How do I fix this? Thank you.

This is the fog, you can just adjust the view distance.

Where? It is set to Epic, in the settings/engine scalability.

You have to adjust the fog actor.