mojira.dev
MC-230905

Sky background is visible on certain reduced fog situations

The skybox renders when the player is in certain reduced fog situations, leading them to be able to see the sun and sunset background in the overworld, and making the entire sky to be visible in the end, when it shouldn't be the case. These situations include:

  1. When the player is below the lower height limit, in the void.

  2. When the player is affected by the blindness effect.

  3. When the player is affected by the powder snow / lava fog.

Other slightly different situations:

  1. During the ender dragon fight (probably intended).

  2. When the player is underwater at low render distance (MC-126772 / MC-152504).

Expected result

In all of these situations, the player shouldn't be able to see the skybox because the fog would be able to hide it.

How to reproduce

  1. Load a world, set the time to around 12500.

  2. Give you blindness with the /effect command.

  3. ❌ The skybox is visible.

Linked issues

Attachments

Comments 3

The overworld blindness issue seems to be caused by them allowing render distance 3 and below to see the sky;

MC-123654

which was fixed in 1.17.1 pre 1 this issue is directly related as it started in 1.17.1 pre 1. issue not present in 1.17 but you are still able to see the sun and moon in blindness, the void skybox and the end skybox which pre date 1.17.1 pre 1

the end issue doesnt need blindness and the fog even fov fog (and dragon fog) have this issue to a lesser extent but suprisingly it seems to work as intended in render distances 3 and lower meaning its somewhat related to the render distance issue that was fixed in the overworld.

MC-123654

The nether does not have any such issues due to its non-existant of skybox.

void issue can confirm 1.17 - 1.17.1

blindness issue in overworld can confirm 1.17.1 pre 1 - 1.17.1 (cannot confirm in 1.17)

end issue can confirm 1.17 - 1.17.1

Edited the report a little and added some more info, as this affects more than just blindness and void fog. If it clutters the report too much i can just revert the changes.

syarumi

Timur Nazarov

Confirmed

Important

Rendering

1.17.1 Release Candidate 1, 1.17.1, 21w38a, 21w42a, 21w44a, 1.18 Pre-release 1, 1.18, 1.18.1 Pre-release 1, 1.18.1

22w03a

Retrieved