Limited Availability
WebXR
id: webxr-lighting-estimation
Lighting estimation
The
XRLightProbe and XRLightEstimate objects represent real-world environmental lighting conditions during a WebXR session.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
90
Supported
Mozilla Firefox
—
Unsupported
Apple Safari
—
Unsupported
Microsoft Edge
90
Supported
Mobile Browser Engine Support
Chrome Android
90
Firefox Android
—
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys:
api.XRFrame.getLightEstimate ↗
api.XRLightEstimate ↗
api.XRLightEstimate.primaryLightDirection ↗
api.XRLightEstimate.primaryLightIntensity ↗
api.XRLightEstimate.sphericalHarmonicsCoefficients ↗
api.XRLightProbe ↗
api.XRLightProbe.probeSpace ↗
api.XRLightProbe.reflectionchange_event ↗
api.XRSession.preferredReflectionFormat ↗
api.XRSession.requestLightProbe ↗
api.XRWebGLBinding.getReflectionCubeMap ↗