Sodium

Sodium

44M Downloads

Don't hide the skybox in Spectator mode when inside water, lava or powder snow

muzikbike opened this issue ยท 5 comments

commented

Request Description

Sodium hides the sky and sun/moon if the camera is subject to water, lava or powder snow fog as a fix for https://bugs.mojang.com/browse/MC-152504. However, Spectator mode isn't intended to be "obscured" by things as the other game modes are - for example, you can see through blocks when inside them unlike in Creative/Survival, and fog distance is considerably increased when inside water or lava compared to other game modes. It would probably make sense to only have this hiding fix apply to creative/survival/adventure modes.

2024-05-07_22 43 10
2024-05-07_22 43 15
2024-05-07_22 44 55
2024-05-07_22 45 00
2024-05-07_22 45 40
2024-05-07_22 45 42

The best fix for this would probably be to disable water, lava and powder snow fog entirely in Spectator mode - that way, there'd be no obstructions at all and you'd be able to see the sky as though you were in any other block.

commented

Wouldn't disabling fog make it looks significantly different?

commented

Yes, but since the point of Spectator mode is to not have visual hindrances such as the suffocation overlay or on-fire effect displayed on screen I doubt this would actually matter.

commented

Vanilla's spectator also doesn't remove fog

commented

True. I'm not picky on how this is fixed, if it's decided it should even be fixed at all.

commented

The entire reason this patch exists is to deal with the way that fog interacts with the skybox. Since Minecraft doesn't fully remove the fog, even in spectator mode, it doesn't make sense to change the behavior as you've requested.