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

Fix fog when submerged in lava or powdered snow #9

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

Michael1297
Copy link

Fixes issue #4

@leo60228
Copy link
Owner

leo60228 commented May 1, 2023

Thanks for this! I was aware the fog implementation was incorrect on 1.17+, but I couldn't find a reference for what it should be. This seems reasonable, but just to be sure, do you have a source for this being the correct usage of the fog parameters?

@Michael1297
Copy link
Author

I took this solution from Sildur's Basic shaders

@Michael1297
Copy link
Author

image
image

@leo60228 leo60228 merged commit 0e3cf5f into leo60228:main Aug 31, 2023
@leo60228
Copy link
Owner

Powder snow appears to be very slightly more transparent than vanilla with this PR, but it's still an improvement over the status quo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants