Skip to content

Revert improved culling frustum in OpenVR. - #2375

Merged
JulianGro merged 1 commit into
overte-org:masterfrom
JulianGro:OpenVR_culling
Jul 24, 2026
Merged

Revert improved culling frustum in OpenVR.#2375
JulianGro merged 1 commit into
overte-org:masterfrom
JulianGro:OpenVR_culling

Conversation

@JulianGro

@JulianGro JulianGro commented Jul 24, 2026

Copy link
Copy Markdown
Member

Fixes #2242
Reverts the OpenVR part of fcf5981

I probably spent 40 hours on #2242 already, and I don't feel like I am any closer to the issue than before. I get the impression that it is a bug in our renderer which happens only on OpenVR's reprojection Matrix. If I set OpenXR to exactly the same culling projection, the picture is all warped, but the issue doesn't appear. So, as far as I can tell, the culling projection doesn't actually have anything to do with the issue? Not being able to reproduce the issue on OpenXR, even with hard-coding a known-broken culling projection, seems very fishy to me.

Whatever the case, it seems preferable to have the culling projection wrong for the right eye, rather than having flashing black squares and upside down haze on most configurations.
Some culling projection values do work, so we could theoretically hard-code some known-working values and map whatever OpenVR outputs to the nearest known-good value, but that would be incredibly hacky.

(I tested this PR locally, and it does what I expect.)

@JulianGro JulianGro added this to the 2026.07.1 milestone Jul 24, 2026
@JulianGro JulianGro added bug Something isn't working regression Something formerly worked and doesn't anymore labels Jul 24, 2026
@JulianGro
JulianGro merged commit dfcd2fc into overte-org:master Jul 24, 2026
8 of 9 checks passed
@JulianGro
JulianGro deleted the OpenVR_culling branch July 24, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working regression Something formerly worked and doesn't anymore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Haze issue in VR

2 participants