Bilinear interpolation for quad vertex data via geometry shader #12

Closed
embeddedt wants to merge 18 commits from geotesting into stonecutter
pull from: geotesting
Owner

Implementation provided by @venn0. There is currently a noticeable regression to FPS with this feature enabled. Therefore, it is disabled by default.

Implementation provided by @venn0. There is currently a noticeable regression to FPS with this feature enabled. Therefore, it is disabled by default.
embeddedt added 10 commits 2025-05-12 20:45:13 -04:00
Collaborator

See changes on the https://git.taumc.org/venn0/celeritas/src/branch/geo-neo-ao/ branch.

I've added a doc note on the Archaic side to make a toggle between the direct/triangulated modes, alongside a cleanup and optimization of the geometry shader.

On my end? There's no performance degradation in either modern or archaic. But needs to be re-validated on your end.

See changes on the https://git.taumc.org/venn0/celeritas/src/branch/geo-neo-ao/ branch. I've added a doc note on the Archaic side to make a toggle between the direct/triangulated modes, alongside a cleanup and optimization of the geometry shader. On my end? There's no performance degradation in either modern or archaic. But needs to be re-validated on your end.
embeddedt added 3 commits 2025-05-13 18:22:58 -04:00
embeddedt added 2 commits 2025-05-13 21:37:45 -04:00
embeddedt added 1 commit 2025-05-13 21:49:20 -04:00
embeddedt added 2 commits 2025-05-14 18:45:17 -04:00
Minecraft uses too many different Guava versions for this to work
reliably
This feature unfortunately doubled the GPU time required to render
terrain - a performance drop that can't be justified for such a minor
improvement in quality
Author
Owner

This feature is unfortunately not viable due to the excessive overhead the geometry shader introduces (doubling the time required to render terrain in various tests).

The other bugfixes, refactors, and introspection features added as part of this work have been merged, as they will be valuable elsewhere.

This feature is unfortunately not viable due to the excessive overhead the geometry shader introduces (doubling the time required to render terrain in various tests). The other bugfixes, refactors, and introspection features added as part of this work have been merged, as they will be valuable elsewhere.
embeddedt closed this pull request 2025-05-14 18:47:22 -04:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: embeddedt/celeritas#12