threejs-webxr
Installation
SKILL.md
WebXR
WebXR runs three.js scenes in headsets (immersive VR) and on phones (immersive AR with hit testing). Support is uneven, so decide the target first:
- Android Chrome: immersive AR with hit test, anchors, DOM overlay, light estimation.
- Meta Quest browser: immersive VR and passthrough AR, controllers and hands.
- Apple Vision Pro Safari: immersive VR with hand and gaze input.
- iPhone Safari: no immersive WebXR. For "view this product in my room" on iOS, use
web3d-model-viewer(Quick Look), which also covers Android with less code.