Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting the "Single Fog" option to "OFF" changes the fog color that shader packs see to white #393

Open
1 task done
Builderb0y opened this issue May 19, 2024 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Builderb0y
Copy link

Make sure you are not opening a duplicate.

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.

@Builderb0y Builderb0y added the bug Something isn't working label May 19, 2024
@FlashyReese FlashyReese added the good first issue Good for newcomers label May 19, 2024
@mateuskreuch
Copy link

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.

@FlashyReese
Copy link
Owner

The cloud disappearing issue is actually a Sodium bug with their own cloud renderer implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants