Use spatial mapping meshes for occlusion?

Our current project requires us to use the spatial mapping meshes for performing occlusions in addition to the ‘Depth Occlusion’ setting.

Is it possible to modify the spatial mapping shader to achieve this effect? I believe the Hololens spatial mapping renderer is able to do this. We realize the Depth Occlusion is already very good but we want to do some experiments with this setup.

Hi @muhd-anwar,

The shader is located at Assets/ZED/SDK/Helpers/Shaders/SpatialMapping/GeometryWireframe.shader. Unfortunately, I can’t give you the exact steps to achieve what you need, but feel free to experiment with it.

1 Like