In WebXR, sometimes the 3D model gets broken when rotating/zooming and gets restored automatically, not sure why this happens. Any help is appreciated.
Broken Screenshot : -
without Broken : -
In WebXR, sometimes the 3D model gets broken when rotating/zooming and gets restored automatically, not sure why this happens. Any help is appreciated.
Broken Screenshot : -
Might be related to this browser bug:
Thanks Mugen. Added the following code and worked perfectly fine.
Based on jtanant comment :
let gl = this.renderer.getContext();
gl.depthMask(false);
gl.clear(gl.DEPTH_BUFFER_BIT);
gl.depthMask(true);
this.renderer.render(this.scene, this.camera);