The bug
When using a render distance of 2 and a cloud distance of 10 or less, shapes of the same color as the end fog can be seen at the edges and corners of the end skybox.
Steps to reproduce
Join a world with commands enabled.
Run the following command to teleport to the end dimension:
/execute in minecraft:the_end run tp 0 64 0
Run the following command to end the dragon fight:
/kill @e[type=minecraft:ender_dragon]
Navigate to your video settings and set your render distance to 2 and your cloud distance to 10 or less.
Optionally, run the following command to increase the visibility of the end fog:
/effect give @s minecraft:night_vision infinite 0 true
Observe the edges and corners of the end skybox.
Expected behavior
The end skybox would be fully visible at all times, as was the case in 25w16a.
I looked into this in order to fix it in one of my mods. With official mojang mappings, GameRenderer’s getDepthFar is the reason for this issue.
In 1.21.5, where the issue occurs:
In 25w16a, where the issue is fixed:
In 25w17a, where the issue once again occurs:
The
this.minecraft.options.cloudRange().get() * 16
can be too low, and I found 11 chunks for the cloud distance setting to be the minimum for there to be no holes.