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

[DRAFT] WebXR: Add support for Space Warp #99433

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dsnopek
Copy link
Contributor

@dsnopek dsnopek commented Nov 19, 2024

Depends on #97151

This implements WebXR Space Warp, which is supported on the Meta Quest browser.

In order to test, you'll need to:

  1. Go to chrome://flags in the browser, search for “WebXR Space Warp” and change it from "Default" to "Enabled"
  2. In your WebXR app, add both "layers" and "space-warp" to either WebXRInterface.required_features or WebXRInterface.optional_features
  3. Check the FPS somehow (perhaps using the overlay from the OVR Metrics app?) and see that it is 45 fps (rather than the expected 90 fps -- unless you purposefully changed it to something else, in which case it should be half of whatever you set it to)
  4. You can also enable "space warp debug mode" on the Quest using the adb commands shown in PR [DRAFT] Implement XR_FB_space_warp extension GodotVR/godot_openxr_vendors#222, which will show a transparent overlay of the motion vectors. Non-transparent objects that are moving should light up!

TODO:

Marking as a DRAFT until PR #97151 is merged

@dsnopek dsnopek added this to the 4.x milestone Nov 19, 2024
@dsnopek dsnopek requested review from devloglogan and a team November 19, 2024 18:12
@dsnopek dsnopek requested review from a team as code owners November 19, 2024 18:12
@dsnopek dsnopek marked this pull request as draft November 19, 2024 18:12
@dsnopek dsnopek force-pushed the webxr-spacewarp branch 4 times, most recently from 4b1026e to 8a0c297 Compare November 19, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants