mojira.dev
MC-126772

Underwater fog doesn't hide edge of chunks correctly at low render distances

The bug

The underwater fog doesn't hide chunk edges correctly, causing unwanted visual effects when the player has a low render distance. If you're below the sea level (most of the cases) you'll be able to see the black background, unlike the surface fog rendering the background with a light color hiding chunk edges seamlessly.

If you're underwater above the sea level, you'll see a blue background instead of the black section, which looks a bit better but you can still see the edges, and this is due to the skybox rendering overlapping the fog causing other issues like being able to see the sun underwater (MC-152504).

[media]

[media]

Undewater with 16 chunk render distance (fog covers everything):

[media]

Underwater with 8, 4, 2 chunk render distance, limits are visible:

[media]

[media]

[media]

Surface to underwater transition at 2 render distance:

[media]

[media]

[media]

Notice how in the first image everything looks fine, then in the second image the fog covers almost everything of the background like it should, then we have the third image where after some seconds the skybox is visible.

Linked issues

Attachments

Comments 5

Confirmed for 1.13.1.

Affects 1.17 rc1. I believe this one talks about the black missing section below the sunset? while MC-152504 emphasizes the skybox. Both might be the same issue tho.

Edit: Actually, that "black section" is still the skybox, but it being visible is because of unloaded chunks not being hidden by the underwater fog like how it works with the surface fog (probably due to the underwater fog having a reduced radius), making it very noticeable at low render distance.

Can i request ownership? i'm willing to modify the ticket to not be confused with MC-152504.

So in how far has this been fixed since MC-152504 is still a thing?

I did not fully understand your question.
There are 2 separate bugs with different causes. One was fixed, the second was not.
This one was caused by the fact that fog underwater was not connected to render distance at all. So when render distance was lower than "natural underwater fog" distance the chunk edge was clearly visible.
Now underwater fog is affected by render distance and there is no sharp chunk edge except for the case described in #MC-152504.

Jacob Mladineo

syarumi

Timur Nazarov

Confirmed

(Unassigned)

Minecraft 18w10a, Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1, Minecraft 1.13.2, ..., 21w44a, 1.18 Pre-release 1, 1.18, 1.18.1 Pre-release 1, 1.18.1

22w03a

Retrieved