ACES · PCF · XR enabled
THREE.JS / FOUNDATIONS 171
Shadow, then session.
A moving light and a small cast of objects make the XR shadow path visible before a headset ever enters the loop. The desktop scene is real; native immersive presentation remains a separate boundary.
Preparing the paired renderers, shadow maps, and XR manager flags…
forced fallback · same shadow rig
shadow pipeline
Move the light. Name the boundary.
The official path enables XR, uses an unsigned-byte output buffer, keeps multiview off, configures PCF shadows, and lets VRButton or the WebGL fallback own session entry. Map size is set at initialization; live GPU texture resizing is intentionally not simulated.
The renderer could not start.
Drag either scene to orbit · immersive XR requires a supported device