End sky texture does not appear during dragon fight
racknae opened this issue ยท 4 comments
Version information
mc1.18-0.4.0-alpha5+build.9
Expected Behavior
In the end, there is a skybox texture which appears when running the game normally.
Actual Behavior
No texture is visible in the skybox while the ender dragon is present. Instead, only the fog colour is visible.
Reproduction Steps
- Create a new world
- Enter the end dimension
- Look at the sky
Java version
Java 17.0.1 64 bit
CPU
Intel i7 Core-7700
GPU
NVIDIA GeForce GTX 1080
Additional information
No response
This behavior may be due to the changes in #710, which prevent the sky from rendering when there is thick fog. Does killing the Ender Dragon cause the sky to render again?
Yes, killing the ender dragon or moving far enough away to unload it makes the sky texture reappear.
Having the sky disappear while inside thick fog is intentional to fix several problems with fog occlusion and other vanilla issues. Vanilla's current behavior regarding this has recently been confirmed as a bug, so I think it would make sense to keep this behavior in Sodium.
I agree that this behavior should be kept, since we'd otherwise be special casing things even more. #710 fixes a number of important graphical issues which are exaggerated by other optimizations that Sodium makes about things you shouldn't be able to see.