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

webgl2 contexts don't render anything in immersive mode #26138

Closed
jdm opened this issue Apr 8, 2020 · 0 comments
Closed

webgl2 contexts don't render anything in immersive mode #26138

jdm opened this issue Apr 8, 2020 · 0 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Apr 8, 2020

I made a fork of https://threejs.org/examples/webxr_vr_lorenzattractor.html, added a <canvas></canvas> to the body and created a webgl2 context and passed appropriate context and canvas parameters when creating the WebGLRenderer object. It renders fine in windowed mode, but immersive mode shows that it's never rendering to the opaque framebuffer.

@jdm jdm mentioned this issue Apr 8, 2020
3 of 3 tasks complete
bors-servo added a commit that referenced this issue Apr 8, 2020
Support WebGL2 contexts in immersive mode

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26138
bors-servo added a commit that referenced this issue Apr 8, 2020
Support WebGL2 contexts in immersive mode

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26138
bors-servo added a commit that referenced this issue Apr 8, 2020
Support WebGL2 contexts in immersive mode

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26138
@bors-servo bors-servo closed this in 5e91e48 Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.