Depth Texture with Occlusion Stabilization (Instant Depth + Mesh-Blended Occlusion)

Issue category: Depth

  • Device type & OS version: Android
  • ARDK version: 3.9 / 3.10
  • Unity version: 2022.3.51f1 LTS

Hello everyone. In the documentation, there is an image showing an example of a depth texture where the differences between having occlusion stabilization enabled or not are visible.

In my case, I access the texture as follows:

// get the depth texture and display matrix from the extension         
var depthTexture = _occlusionExtension.DepthTexture;
var displayMatrix = _occlusionExtension.DepthTransform;

I follow all the steps to enable stabilization, and everything seems correct, but there is no visible difference in the texture when it is enabled or disabled. How can I access the texture created with stabilization mode enabled?

Thanks!

Hello,

Occlusion stabilization is meant to improve occlusion on static areas. If you’re moving around consistently, that may be why you’re not seeing a difference.

Additionally, there is no additional stabilized depth texture. Both methods use the same depth texture but stabilization uses meshing to enhance the quality of the occlusion.