WebXR Depth API

The Depth API allows applications access to depth buffer information that conveys information about the user's environment in Augmented Reality scenarios.

Motivation

By leveraging the depth API, web applications could offer more immersive AR experiences to their users. Example use cases are: - using depth information for physics (balls bouncing off of user's walls, projectiles burst when they hit the environment) - occlusion - virtual objects can appear as hidden behind real world objects Additionally, this helps close the gap between web platform and native APIs / SDKs.

Demos

Documentation

Status in Chromium

Blink


In developer trial (Behind a flag) (tracking bug) in:

  • Chrome for Android release 87

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • No signal
  • No signal
  • No signals

Owners

Intent to Prototype url

Intent to Prototype thread

Last updated on 2020-10-27