Skip to content

Add reverse-Z + infinite-far projection path#2574

Draft
levinli303 wants to merge 1 commit into
CelestiaProject:masterfrom
celestiamobile:reverse-z-fp32-depth
Draft

Add reverse-Z + infinite-far projection path#2574
levinli303 wants to merge 1 commit into
CelestiaProject:masterfrom
celestiamobile:reverse-z-fp32-depth

Conversation

@levinli303

@levinli303 levinli303 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

ReverseZ + glClipControl(ZERO_TO_ONE) + GL_GEQUAL so we can drop depth partitioning (still built but merged into 1). Require the presence of "glClipControl"

@levinli303 levinli303 force-pushed the reverse-z-fp32-depth branch 2 times, most recently from 937d730 to e5957d4 Compare June 9, 2026 05:08
ReverseZ + glClipControl(ZERO_TO_ONE) + GL_GEQUAL gives uniform fp32
depth precision across the entire scene, eliminating the B-coefficient
cancellation that motivated multi-interval depth partitioning at far
distances.
@levinli303 levinli303 force-pushed the reverse-z-fp32-depth branch from e5957d4 to cba868d Compare June 18, 2026 19:20
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant