mojira.dev
MC-238931

Clouds stop rendering before they are hidden by fog

The bug:

Starting with the 1.18 snapshots, clouds were raised to y=192, which introduced an issue where clouds fail to render seamlessly at certain distances. This is not related to the general rendering distance limitations that apply to all objects in the game but specifically concerns clouds not being fully occluded by fog before they disappear.

Observed behavior:

Clouds stop rendering abruptly before the fog starts obscuring them, resulting in visible popping or noticeable transitions when clouds load or unload at the edge of the render distance.

Expected behavior:

Clouds should integrate smoothly with the fog, rendering fully until they are 100% hidden by fog at the distance limit, ensuring seamless transitions and avoiding any abrupt visual changes.

Linked issues

Attachments

Comments 11

Can confirm on 1.18 pre1, they stop rendering at some point before the fog starts, but only happens when the player is low enough.

Hmm, this might be a dupe of MC-162713.

Affects 1.18 Release Candidate 1

1 more comments

Can confirm in 1.19

Yeah, this is still happening 3 years later. It's kinda jarring.

Here's a comparison of vanilla cloud rendering with Sodium, which fixes this issue:

[media]

[media]

I cannot reproduce this in 25w16a. Clouds are always fully covered by fog before they stop rendering

[media]

Resolving as fixed per the previous comment and my own testing. The clouds now blend properly into the horizon, making this issue no longer reproducible.

user-30ce1

[Mod] turbo

(Unassigned)

Confirmed

Platform

Normal

Rendering

clouds, rendering

21w41a, 21w42a, 22w14a, 1.19, 1.19.2, ..., 1.21.1, 24w34a, 1.21.3, 1.21.4, 25w03a

25w16a

Retrieved