Start a new topic

Access Depth Texture

Is there any way to pull a depth texture from Spaces? For example, with ArCore you can use ARFoundation's ArOcclusionManager to get the environment depth texture. With Spaces and no ArCore in the project this functionality does not seem to be supported.

1 Comment

Hello, unfortunately the occlusion API in ARFoundation is not yet supported by Snapdragon Spaces. 

Since Spatial Meshing is supported, it may be possible to use a mesh to occlude virtual objects whith a certain degree of accuracy instead by assigning the mesh a custom shader that writes into the depth buffer but does not have a color. 

Login to post a comment