I’m not sure at what point it stopped working. The project seems to be vacant and I tried to depreciated it but got complaints. I’ve narrowed it down which features the polyfill stops working on. The equi video and stereo video. With equi video the distorter is black and when exiting rendering is broken and complains about a buffer missing. With sterep video the right eye flashes then dissapears.
The rollercoaster example is the only one I found to be working so far. Any ideas before continue to debug ?
These can be tested on Firefox desktop with webxr disabled
not really, you just need to scroll away from blackness, but of course the result is incorrect. the console says renderer.setSize call is blocked, so maybe that has a part in it
I just caught that. So it is a camera position problem. That code is updating the camera position from mouse events. Its the examples in the repository. Its warping the rendering upwards when scrolling.
Its scrolling between eyes so not seperated. Its mono.
When exiting there is this error and no render. Like the vertex buffer is removed
WebGL warning: drawElementsInstanced: Vertex attrib array 0 is enabled but has no buffer bound. 31
After reporting 32, no further warnings will be reported for this WebGL context.
No idea about the stereo render the right eye disappears.
I have another demo with the same problem. But it displays in the “WebXR chrome extension” but I found after orbit controls rotation it shows up starting at the floor position.
After hours of debugging. I was able to produce an AB test with Babylon. Aframe uses threejs. It works with Babylon therefore it’s something added into threejs that broke before 2020.
I’m looking back at that as people are expecting the IOS polyfill to be available. Nobody wants to touch it. It removes the right eye for the stereo video example but no buffer error.