Smart glasses glossary · Tracking and input
Occlusion (depth)
Also called: depth occlusion, Depth API
Occlusion in AR means hiding the parts of a virtual object that should be behind a real one, such as a virtual cat walking behind your real sofa. Without it, virtual objects always draw on top and look pasted on.
Google's ARCore documentation explains that its Depth API builds depth images, which give the distance to each point in the scene, and that one main use is enabling occlusion. The same depth data also helps with realistic physics, placing objects on uneven surfaces and more accurate taps on real things.
Devices can get depth from dedicated sensors or by comparing camera views as you move. On see-through glasses, occlusion is harder, because the real object is seen directly and the display can only hide the virtual object, not dim the real one.