Sodium

Sodium

44M Downloads

Skybox can be seen in underground caves when the fog distance is very short

Lolothepro opened this issue ยท 2 comments

commented

Bug Description

In the caves, if a mod changes the fog start, the player can see the stars.

image
Fog config: config.json

Reproduction Steps

Install a mod that changes the Fog distance (like Fog)
Change the mod settings
2024-08-04_18 17 52

Log File

https://mclo.gs/UX1gjLf

Crash Report

commented

I don't think this is easily fixed. The terrain shader is responsible for applying fog, and if there's no blocks between you and the sky (even if you are underground), the shader is not going to fill in that part of the sky.

Sodium likely makes this problem worse because it also culls geometry behind the fog. Can you see if disabling Video Settings > Performance > Use Fog Occlusion improves the issue?

commented

I don't think this is easily fixed. The terrain shader is responsible for applying fog, and if there's no blocks between you and the sky (even if you are underground), the shader is not going to fill in that part of the sky.

Sodium likely makes this problem worse because it also culls geometry behind the fog. Can you see if disabling Video Settings > Performance > Use Fog Occlusion improves the issue?

Yeap