I am drawing debug points with the DrawDebugPoint function into the scene. The points are created by reading certain pixels from the SceneDepth. Undfortunately, the debug points are also shown in the SceneDepth leading to interferences.
Does anyone know, how I can exclude the points from the SceneDepth? It is captured with a SceneCapture2D. Maybe I need to hide them from the capture, but I did not find, how to to that either.
Using CustomDepth was also an option. The points are not visible there, but I got problems with some meshes using custom depth, so I would prefer using SceneDepth.