What's wrong with my shaders

I'm using Photon. What's wrong with the fog, and why doesn’t the sun appear on the horizon during sunset? Instead, there’s a strange line on the horizon where there’s no fog. My mountains weirdly shine through the fog, and in the night screenshot you can see the edges of the world, even though the fog is supposed to hide them. You can also see a black artifact line on the mountains on the right.
It's singleplayer. My modlist in screenshots
photo_2025-12-10_20-11-39.jpg
photo_2025-12-10_20-11-33.jpg
photo_2025-12-10_23-30-30.jpg
photo_2025-12-10_23-30-33.jpg
photo_2025-12-10_23-30-37.jpg
Was this page helpful?