The Immersive Web Working Group has published a First Public Working Draft of WebXR Lighting Estimation API Level 1. This specification describes support for exposing estimates of environmental lighting conditions to WebXR sessions.
Original source: https://www.w3.org/blog/news/archives/9256