THREE.JS / FOUNDATIONS 142
Let the room speak.
Trace the official XR light-estimation contract: keep fallback lights until estimates start, swap in the estimated probe and environment, then restore the fallback when the session ends.
Initializing
Backend pending
Preparing the fallback rig and environment ownership path.
- mode
- -
- estimate
- -
- environment
- -
- events
- -
- draws
- -
- triangles
- -
- CPU avg / p95
- -
- resources
- -
Session lifecycleDesktop controls simulate session-owned estimates.
Lighting ownership graphfallback / pending
XR session→XREstimatedLight→LightProbe + DirectionalLight→environment
The estimated rig is not scene-owned until an estimate is available.
Session resource ownershipwaiting
fallback rig-
estimated rig-
default environment-
estimated environment-
capture scene-
sample stateidle
The fallback rig and default environment remain available across session transitions.
Capability boundary-
- XR API
- -
- session
- -
- feature
- -
- addon
- -
A compatible secure-context AR device is required for native estimates; desktop controls are an explicit simulation.
Drag to orbit · use ?forceWebGL=1 to exercise the documented WebGL addon path · native AR requires HTTPS and compatible hardware
XR light-estimation error
LAB 142 / XR LIGHT ESTIMATION