-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Far clipping doesn't work properly in WebXR browsers #4387
Comments
WebXR default is 1000 and there's no way to change it at the moment. We should incorporate a way to override the default in WebXRManager |
Presuming a fix is made to Three.js, would it be preferable to cherry-pick the fix to super-three, or merge the latest version of Three.js? |
It depends. Cherry-pick if we want to ship it in a minor version 1.0.X Bumping THREE versions is disruptive and we can rebase for major versions 1.X.0 |
We can cherry-pick this for 1.0.4. Thanks for the effort on THREE |
Description:
Objects > 1000m away, but within camera far clipping plane, should be visible. Under WebVR, they are. Under WebXR, they are not.
https://glitch.com/edit/#!/educated-slayer?path=index.html:16:41
This just has an a-sky with radius="9000" and a camera with far="10000"
The render state appears to be set with the baseLayer, but not depthNear nor depthFar
https://immersive-web.github.io/webxr/#xrrenderstate-interface
It's also possible that the maximum far clip plane is only 1000 on these platforms (which is legal)
The text was updated successfully, but these errors were encountered: