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 wibble effect seams in level geometry #1661

Merged
merged 3 commits into from
Oct 4, 2024
Merged

Fix wibble effect seams in level geometry #1661

merged 3 commits into from
Oct 4, 2024

Conversation

rr-
Copy link
Collaborator

@rr- rr- commented Oct 4, 2024

Checklist

  • I have read the coding conventions
  • I have added a changelog entry about what my pull request accomplishes, or it is an internal change

Description

#1493

Uses double rendering of underwater rooms with the wibble effect disabled (and Z-buffer writes off, to avoid depth races) to provide sensible pixels in the seams.

This has a chance of affecting performance in pools.

rr- added 3 commits October 4, 2024 22:07
Fixes TR1X crashes when trying to launch with an invalid shader.
Resolves TR1X part of #1493.
@rr- rr- added Enhancement Improvement of an existing feature TR1 labels Oct 4, 2024
@rr- rr- self-assigned this Oct 4, 2024
@rr- rr- requested review from a team as code owners October 4, 2024 20:10
@rr- rr- requested review from lahm86, walkawayy and aredfan and removed request for a team October 4, 2024 20:10
Copy link
Collaborator

@aredfan aredfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've mostly checked the water room in the 3 levels with skyboxes because that's where the seams are most evident. The seams issue is fixed in nearly all cases.

There's a few stray seams remaining in Obelisk of Khamoon, room 42. These seams are also present in OG too so nothing new there. No worries if there's no fix to be found for this case.

Screenshot

Regardless, this is a massive improvement compared to how the wibble effect worked in OG, thank you. 👍

@rr- rr- merged commit ef0b20e into develop Oct 4, 2024
5 checks passed
@rr- rr- deleted the wibble branch October 4, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement of an existing feature TR1
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants