mojira.dev
MC-130265

Fog color does not match with sky color, causing players to be able to see things that should be completely obscured by the fog

The bug

Fog color matches the color of the horizon during the day or night, but it does not match the color of the sky, or the color of the horizon when the sun is rising or setting. This is an ugly graphical glitch and it can cause players to be able to see objects that are supposed to be obscured by fog.

How to reproduce

Use the seed -563293547 and teleport to -100 130 80 and look at a savanna mountain at different times of the day (with a render distance of 12). When the most distant mountain is looked at around noon or midnight, you will notice that the fog color is wrong for the non horizon part of the sky (so you will only be able to see the upper part of the mountain). When you set the time to 23000 (early sunrise) and look at the mountain, the whole mountain is visible, but colored white-ish.

Linked issues

Attachments

Comments 7

gaspoweredpick

Relates to MC-129349

gaspoweredpick

This problem is even more apparent now that render distance fog got corrected.

Still in 20w29a.

Can confirm for 21w13a.

Affects 1.17 rc1.

Why won't this be fixed?

Simply changing the fog color to match that of the skybox behind it would still have left the sun and moon obstructed during sunset or sunrise. Now that clouds can render out to the horizon (see below), such a fix would be increasingly unworkable. The only proper solution is to make the fog decrease the opacity of the blocks and entities it obscures so that everything fades seamlessly into the sky. I sincerely hope Mojang moves ahead with this at some point.

[media]

gaspoweredpick

(Unassigned)

Confirmed

day/night-cycle, fog, graphical, horizon, rendering, sky

Minecraft 1.12.2, Minecraft 18w21b, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre5, ..., 20w46a, 20w51a, 21w13a, 21w15a, 1.17 Release Candidate 1

Retrieved