Contact emailsalco...@chromium.org, baj...@chromium.org
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".
TAG review statusPending
Interoperability and Compatibility
This feature has been incubated in the Immersive Web Community Group, in a spec co-authored with representatives from Mozilla. Though heavily influenced by ARCore, care was taken to ensure that solutions would be compatible with ARKit as well. Gecko
: No signalWebKit
: No signalWeb developers
: Positive Interest is primarily from libraries (e.g. Three.js, ModelViewer)
This feature is an extension of the WebXR Device API. The reflection cubemap is retrieved as a WebGL texture, and at least one format requires the half float extension to be enabled if a webgl1 context is used. The spherical Harmonic values may be a bit opaque to regular users, and are expected to be fed into some form of existing renderer (e.g. three.js, babylon.js, etc.)
Goals for experimentation
While there has been some agreement on the API shape between Google and Mozilla, feedback from other members of the Immersive Web group is still outstanding. We expect that we have arrived at an API shape that will be agreeable to them, but would like to launch via an Origin Trial to begin getting developer feedback on the ergonomics, as well as to provide the Immersive Web group more time to provide input.
Reason this experiment is being extended
Ongoing technical constraints
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?No
This feature requires the WebXR AR API, which is only implemented on Android.No
Link to entry on the Chrome Platform Statushttps://chromestatus.com/feature/5704707957850112