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

Support mono devices in WebXR #45444

Merged
merged 1 commit into from Jan 27, 2021
Merged

Conversation

dsnopek
Copy link
Contributor

@dsnopek dsnopek commented Jan 25, 2021

Currently, the webxr module is hardcoded to always render in stereo. This PR attempts to detect and support mono devices. It seems to work in some really quick testing (on 3.2, of course!), but I'd like to keep this as a draft for a few days to get some more testing on a couple more devices.

This won't cleanly cherry-pick back to 3.2, so I'll make a separate PR for that.

Fixes #45412

@dsnopek dsnopek marked this pull request as draft January 25, 2021 14:50
@Calinou Calinou added this to the 4.0 milestone Jan 25, 2021
@dsnopek dsnopek marked this pull request as ready for review January 27, 2021 10:27
@dsnopek
Copy link
Contributor Author

dsnopek commented Jan 27, 2021

While it'd be nice to get even more testing, I've gotten a couple reports that this isn't causing any regressions in VR, so I'm taking this out of "Draft" status.

BTW, if anyone else would like to test, here's a version of my race car demo that uses this patch:

https://bit.ly/godot-webxr-05

@akien-mga akien-mga merged commit 9d3a9b3 into godotengine:master Jan 27, 2021
@akien-mga
Copy link
Member

Thanks!

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.

WebXR AR module XRView 'none' eye handling
3 participants