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 #1156 Use infinity water depth #1157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix #1156 Use infinity water depth #1157

wants to merge 1 commit into from

Conversation

daleeidd
Copy link
Collaborator

Fixes incorrect depth values when away from zero, and greatly simplifies everything. Caution must be taken as infinity can cause issues.

Water depth sampling had to be moved to the fragment shader, as it had artifacts possibly from interpolation.

Additionally, improved fading out of shallow SSS towards the end of cascades.

Fixes incorrect depth values when away from zero, and greatly simplifies
everything. Caution must be taken as infinity can cause issues.

Water depth sampling had to be moved to the fragment shader, as it had
artifacts possibly from interpolation.

Additionally, improved fading out of shallow SSS towards the end of
cascades.
@daleeidd daleeidd added the Bug label Aug 14, 2024
@daleeidd daleeidd added this to the Next milestone Aug 14, 2024
@daleeidd daleeidd linked an issue Aug 14, 2024 that may be closed by this pull request
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Foam does not respect floating origin on Y axis
1 participant