Occlusion helps a virtual object appear to occupy the same room as real furniture: a table edge can hide the part that should be behind it. The effect is powerful, but it depends on an estimate of the environment. Imperfect edges, unsupported surfaces and changing objects can weaken the illusion. Design the experience so it remains usable even when the depth information is incomplete.

Identify where occlusion adds meaning

Begin with the task rather than enabling occlusion everywhere. A furniture preview benefits from clear relationships with the room. A maintenance label may need to remain visible even when the associated component is partly hidden. The correct behavior depends on whether realism or continued readability serves the user at that moment.

Create explicit rules for virtual objects, labels and interaction handles. A model may be occluded by a real surface while its selected outline remains visible through a restrained treatment. Explain that distinction visually so users do not mistake a helper overlay for the object's physical appearance. Consistent rules make the scene easier to interpret than arbitrary exceptions added after testing.

Treat environmental depth as uncertain data

Inspect the depth representation in development tools alongside the final composition. This reveals whether a visual problem comes from the estimate, the rendering setup or the content itself. Test thin edges, reflective areas, low-detail surfaces and moving objects that matter to the intended environment.

Avoid assuming every supported device provides the same depth capability or quality. Check capabilities through the platform and choose a deliberate fallback. The product may simplify visual blending, change placement guidance or explain that a particular mode is unavailable. A missing depth feature should not produce invisible controls or a scene that appears broken with no explanation.

Balance edge quality against responsiveness

Filtering and temporal smoothing can reduce unstable occlusion edges, but they can also leave a delayed boundary when something moves. Evaluate the trade in scenes where users naturally move their heads or hands near the virtual content. A static screenshot can hide the most distracting artifacts.

Pay special attention to small high-contrast details because errors are easier to notice there. Content design can help: avoid placing essential text exactly where a noisy real-world edge repeatedly cuts through it. Use a stable background for labels and keep their relationship to the object clear. Improving the composition can be more effective than spending additional rendering time on a fragile edge treatment.

Verify interaction independently from appearance

An object looking hidden does not automatically mean it should be unselectable, and a visible object does not prove the estimated surface supports a precise interaction. Define selection and collision policies separately from the visual occlusion effect. Otherwise users may target controls that appear reachable but are blocked by an unrelated depth rule.

Test complete tasks with occlusion enabled, degraded and unavailable. Observe whether people understand where objects are and how to recover a misplaced one. Keep a reset or reveal action accessible. The final checklist should cover purpose, capability detection, moving-edge behavior and interaction consistency. Occlusion improves mixed reality when it reinforces useful spatial relationships without becoming a single point of failure for the task.

TAKE IT FORWARD

The key decisions.

  • Choose occlusion rules according to the task’s visual needs.
  • Plan for uncertain depth and unsupported capabilities.
  • Test selection and recovery separately from visual blending.

Sources & further reading

Primary references for the concepts discussed. Check the applicable documentation when planning implementation.

  1. Google: ARCore depth