← Back to release summary

WebXR AR Lighting Estimation

Category
Device
Type
New or changed feature
Status
Enabled by default (Chrome 90)
Intent stage
Shipped

Summary

Allows sites to query for estimates of the environmental lighting conditions within WebXr sessions. This exposes both spherical harmonics representing the ambient lighting, as well as a cubemap texture representing "reflections".

Motivation

Adding Lighting Estimation can help to make your models feel more natural and like they "fit" better with the user's environment. This can make them feel more "real" or "natural".

Standards & signals

Docs: https://github.com/immersive-web/lighting-estimation/blob/master/lighting-estimation-explainer.md

Samples: https://storage.googleapis.com/chromium-webxr-test/latest.html?target=proposals/lighting-estimation.html

Explainers: https://github.com/immersive-web/lighting-estimation/blob/master/lighting-estimation-explainer.md

View on chromestatus.com