Odd vr camera multivew rendering

When i use createDefaultVRExperience with useMultiview: true happen this

same problems on playground with XR helper https://playground.babylonjs.com/#8Y780Y#75

and i observe some problems on playground with clear scene in xr mode
https://playground.babylonjs.com/#8Y780Y#75

The XR issue (assuming you are using the emulator) is due to the fact that there is no background in your scene. Since the buffer is not cleared on each frame. I need to check and see if it is better supported now and will reintroduce it to XR scenes. Just add an environment and it will be fixed:

About multiview - XR does not support multiview, would you be able to share a demo or reproduce that? The link you shared is the same as the lower one showing the XR view bug

https://playground.babylonjs.com/#8Y780Y#75
that playground i test on android and observe same issuse without multivew

Seems like the GUI 3D manager is making changes to the canvas. I will check why it happens.

Thanks for reporting!

Github issue is here - WebXR - When using GUI3DManager left eye renders incorrectly · Issue #7517 · BabylonJS/Babylon.js · GitHub

PR was already submitted, will be merged and fixed soon.

1 Like