Setting the "Single Fog" option to "OFF" changes the fog color that shader packs see to white
Builderb0y opened this issue ยท 2 comments
Make sure you are not opening a duplicate.
- I have searched the issue tracker and did not find an issue describing my bug.
Minecraft version.
1.20.6
Sodium Extra version.
0.5.5+mc1.20.6-build.118
Sodium version.
0.5.8+mc1.20.6
What happened?
I believe this line of code causes this issue.
Here is a small shader pack I wrote to display the skyColor and fogColor uniforms that Iris normally exposes to shaders to the screen. Both appear on the left, with skyColor being displayed in the top half, and fogColor being displayed in the bottom half.
Relevant log.
I do not believe logs are relevant for this issue, as there are no warnings or errors in mine that are related to Sodium Extra.
Additional information.
I tested this issue in my dev environment with Iris 1.7.0+mc1.20.6.
It's not only an issue with the fog color, but likely with occlusion as well. For instance, setting single fog to OFF causes clouds to disappear and enchanted items to become white in some shaders, which is probably the game trying to not render the effects of something it thinks is out of sight.