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

soft-exit immersive mode? (browser overlay in webgl) #1466

Open
coderofsalvation opened this issue Jul 2, 2024 · 0 comments
Open

soft-exit immersive mode? (browser overlay in webgl) #1466

coderofsalvation opened this issue Jul 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@coderofsalvation
Copy link

Developing WebXR+WebGL feels a lot like having to re-invent the UI wheel compared to HTML elements.

Reason: as long as I can remember, there were hopes for a 3D UI in WebGL (as a standard) to ease this burden.

Solution

A similar exit-immersive workflow like Quest Browser:

https://twitter.com/coderofsalvatio/status/1808066619014303789

Basically, WebXR hands are not updated (frozen), browserwindow pops up, allowing hand interaction.

image

Alternative

Programmatically exiting immersive mode via javascript, and showing a button-overlay in the browser.
The problem here is that you're really exiting immersive mode, which is quite uncomfortable.

@svillar svillar added the enhancement New feature or request label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants