Sky overlaps fog underwater
The sun / moon shows through underwater fog if the water reaches the render distance.
What I expected to happen was...:
The fog should overlap the sun/ moon / any parts of the sky so it stays blue at all times without the sun bleeding through the edge of the chunks.
What actually happened was...:
The sun / moon bleeds through ruining the atmosphere of oceans and creates an ugly effect.
Steps to Reproduce:
1. Go underwater in a large area so that the chunks cut off at the very end
Linked Issues
Created Issue:
Sky overlaps fog underwater
The sun / moon shows through underwater fog if the water reaches the render distance.
What I expected to happen was...:
The fog should overlap the sun/ moon / any parts of the sky so it stays blue at all times without the sun bleeding through the edge of the chunks.What actually happened was...:
The sun / moon bleeds through ruining the atmosphere of oceans and creates an ugly effect.Steps to Reproduce:
1. Go underwater in a large area so that the chunks cut off at the very end
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).
Undewater with 16 chunk render distance (fog covers everything):
Underwater with 8, 4, 2 chunk render distance, limits are visible:
Surface to underwater transition at 2 render distance:
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.
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.
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:
- When the player is below the lower height limit, in the void.
- When the player is affected by the blindness effect.
- When the player is affected by the powder snow / lava fog.
Other slightly different situations:
- During the ender dragon fight (probably intended).
- 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
- Load a world, set the time to around 12500.
- Give you blindness with the /effect command.
The skybox is visible.
So in how far has this been fixed since MC-152504 is still a thing?
The sun, moon, stars, and sunset glow are visible while the player has the Darkness effect. I would think the Darkness fog would block these out just as Blindness fog has since the fix of MC-230905 in 22w03a.
Relates to MC-152504 and MC-152382. I would also appreciate any statement on whether the visibility of sky effects when below the height limit is intended, as that was unaddressed with the fix of MC-230905.
Despite the fix of MC-230905, sky is still visible when the player is in the void, even though the other issues listed (except for MC-152504) have been resolved. Not sure if this was overlooked so i'm reporting this here.
This causes some visual inconsistencies due to how fog color changes to black when you go below the world limit not matching skybox, and thus making pitch black terrain visible at the horizon, as can be seen in the overworld and the end. Nether fog though, seems to not have this inconsistency.
There's a similar effect achieved on long caves due to MC-118103, however this issue is different from the fact this only affects fog below the world height limit, breaking immersion in a different way if the player falls into the void from a what is supposed to be a dark cave. At some point if you are deep enough you wouldn't be able to see the skybox anyways.
Expected result
Sky would gradually hide from player's vision, when going into the void.
Observed result
Skybox is visible in the void.
How to reproduce
- Load a world, set the time to around 12500.
- Go below the height limit, /tp ~ -65 ~
- Look around and notice how the skybox is visible.














This may relate to
MC-130265Is this still an issue in 1.16 Pre-release 2 or higher?
Can confirm on 1.17 rc1. May be the same as
MC-126772.Affects 22w03a.
Affects 22w15a.
Affects 22w19a.