Showcase » WebXR example

A ba­sic demon­stra­tion of how to use the Em­scripten We­bXR li­brary with Mag­num. This re­places the ex­am­ple for the now-ob­so­lete We­b­VR API.

For the full ex­pe­ri­ence, this ex­am­ple re­quires a We­bXR 1.0 ca­pa­ble brows­er and a VR head­set. Be­fore Chrome 79 or Ocu­lus Brows­er 7.0 you may need to en­able We­bXR sup­port ex­plic­it­ly on your brows­er — on Chrome go in­to chrome://flags and search for We­bXR. Works on An­droid as well.