XR · 12 min · Sep 12, 2025

XR for the Web (AR/WebXR)

Practical AR/WebXR in the browser with performance and accessibility.

XR for the Web (AR/WebXR)

1. When XR Adds Real Value

When XR Adds Real Value

Use XR when seeing an object at true scale or in context changes decisions—furniture, equipment, spatial instructions. Avoid using XR as a gimmick.

Key takeaways:
  • Scale & placement matter
  • Training & tours
  • Avoid novelty-only uses

2. Quick Wins with <model-viewer>

Quick Wins with <model-viewer>

`<model-viewer>` delivers AR on many devices with minimal code. Prepare GLB/USDZ assets, good lighting, and a poster frame for fast first paint.

Key takeaways:
  • GLB/USDZ
  • AR button
  • Environment maps

3. WebXR for Rich Interactions

WebXR for Rich Interactions

Use hit tests for placement, anchors for stability, and input profiles for controllers. Design short, guided sessions that communicate what to do.

Key takeaways:
  • Hit tests & anchors
  • Input profiles
  • Session flow

4. Performance & Asset Pipeline

Performance & Asset Pipeline

Compress textures with KTX2, decimate meshes, and stream LODs. Bake lighting when you can. Heavy assets are the #1 killer of XR experiences.

Key takeaways:
  • KTX2 textures
  • LOD streaming
  • Mesh decimation

5. Onboarding, Space Safety & A11y

Onboarding, Space Safety & A11y

Request permissions clearly, show safety guidance, and provide non-XR fallbacks. Respect reduced-motion users and allow pause/exit at any point.

Key takeaways:
  • Permission prompts
  • Clear boundaries
  • Reduced motion

6. Testing the Hard Stuff

Testing the Hard Stuff

XR is sensitive to environment. Test across devices, lighting conditions, and OS/browser updates. Automate sanity checks for every release.

Key takeaways:
  • Device matrix
  • Ambient light variance
  • Stability across updates