Showcase » WebXR example

A ba­sic demon­stra­tion of how to use the Em­scripten WebXR lib­rary with Mag­num. This re­places the ex­ample for the now-ob­sol­ete Web­VR API.

For the full ex­per­i­ence, this ex­ample re­quires a WebXR 1.0 cap­able browser and a VR head­set. Be­fore Chrome 79 or Oculus Browser 7.0 you may need to en­able WebXR sup­port ex­pli­citly on your browser — on Chrome go in­to chrome://flags and search for WebXR. Works on An­droid as well.

Initialization...