Getting Started - Chapter 8 - Going Virtual

See Our Virtual Village World in XR

It could not be simpler - we remove the current camera and replace it with

const xr = scene.createDefaultXRExperienceAsync();

This will enable WebXR in VR immersive mode, including session init, input sources, the camera, teleportation and scene interactions. All using our WebXR Default Experience Helper.