Hello,
I would love to utilize the new Occlusion Feature that has been added to RealityKit.
But as my app still requires a lot of features that RealityKit doesn't yet deliver I have to keep using SceneKit for now.
I was wondering if I could convert the depth map provided by the SceneDepth API into an alpha matte that I could then feed into a SCNTechnique to achieve a 'poor mans' occlusion.
Is there some kind of CIFilter or workflow that could help me with this? Maybe some kind of edge detection?
Thankful for any hints!
I would love to utilize the new Occlusion Feature that has been added to RealityKit.
But as my app still requires a lot of features that RealityKit doesn't yet deliver I have to keep using SceneKit for now.
I was wondering if I could convert the depth map provided by the SceneDepth API into an alpha matte that I could then feed into a SCNTechnique to achieve a 'poor mans' occlusion.
Is there some kind of CIFilter or workflow that could help me with this? Maybe some kind of edge detection?
Thankful for any hints!