-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
Fix WebXR Darkness and Non-Stencil Invalid GL Layer #22918
Fix WebXR Darkness and Non-Stencil Invalid GL Layer #22918
Conversation
Thanks! |
I have a follow up I was just about to push that sets encoding to renderer,outputEncoding, right now this is somewhat limited. I will create a follow up PR unless you want to unmerged this? Sorry, just realised it. |
A new PR is ok 👍 |
It seems that the WebXR output is too light with this change. Maybe we should change the PR so we let authors decide if they want to use sRGB encoding. |
A follow PR has been merged already that pulls the output encoding from the WebGLRenderer passed in. |
Ah, yes, this is better. |
Didn't #22997 fix that? 🤔 |
No, the texture in the projection layer is always created as RGB. See https://github.com/mrdoob/three.js/blob/dev/src/renderers/webxr/WebXRManager.js#L284 |
Related issue: #22558
Description
DEPTH_COMPONENT24
toDEPTH_COMPONENT16
This contribution is funded by XRFoundation.