cancel
Showing results for 
Search instead for 
Did you mean: 

WEBGL_multiview in Oculus Browser

phyxle
Honored Guest
I am trying to use multiview rendering in WebVR for Quest Browser as explained here. However "var ext = gl.getExtension('WEBGL_multiview'); returns null.
I also noticed that 
WEBGL_multiview is now deprecated and replaced by OVR_multiview2 according to Khronos. But OVR_multiview2  is not supported either. 
According to this commit about a month ago in chromium project, OVR_multiview2   is already replaced WEBGL_multiview .  Does it mean the same thing is happening for Oculus browser?
Does it mean multiview rendering is broken in the meantime?

1 REPLY 1

stmcbeth
Honored Guest

I know this is an old post, and it doesn't seem like WebXR stuff gets a lot of traffic here, but just in case anyone else runs into this...

 

The extension won't be available until after the WebXR session has started. If you attempt to get the extension before session start, you get the null result as you have seen. You have to wait until after the user has activated VR mode to then call getExtension().