-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Get WebXR minimally working again in Godot 4 #64514
Get WebXR minimally working again in Godot 4 #64514
Conversation
4320f33
to
f122812
Compare
f122812
to
548ca2f
Compare
548ca2f
to
b9f15fd
Compare
I rebased this on PR #65800, which is the latest attempt to fix the rendering issues with XR on the 'opengl3' driver. I think this one is the one! ;-) For whatever reason, this PR is no longer working on the WebXR emulator (I suspect it's something related to PR #65727) but it still works fine on an actual device. Once PR #65800 (or its successor :-)) gets merged, this one will still be ready to go in: it accomplishes what aims to do (get WeXR minimally working) and I can fix the issue with the WebXR emulator in a follow-up PR. |
b9f15fd
to
53a3039
Compare
PR #65800 was merged (yay!) so I just rebased and re-tested this: it's still working just as well as my last comment! This one is ready to go :-) |
53a3039
to
22bfba3
Compare
22bfba3
to
b5c14e5
Compare
Thanks! |
This is a draft PR, because it includes the changes from PR #65800 which is necessary for this to work.Not a draft anymore!
This includes the changes from PR #55869, which got merged into 3.x only, since it was impossible to port to Godot 4 without WebGL support (which we now have, yay!)
With the PR, WebXR will render fine on mono devices (like smartphone AR), but with stereo devices it will only render the left eye, because the 'opengl3' driver doesn't support multiview yet.