HighlightLayer work uncorrect in chrome with HTC Vive Commos, but work fine in PicoVR

When I use HighlightLayer in chrome with HTC Vive Commos, the highlight object will leave moving trail when moving camera.
But this function works fine in PicoVR.

Pinging our VR Guru @RaananW

This is probably a clearing issue. Can you try adding this line after your experience helper and see if it works?

xr.baseExperience.sessionManager.onXRFrameObservable.addOnce(() => {
        xr.baseExperience.camera.rigCameras[0].outputRenderTarget.skipInitialClear = false;
    })

Thank you. Adding this line works.

1 Like