All Questions
2 questions
0
votes
0
answers
62
views
Finding x/y screen position of a Metal fragment shader modifier for custom ARKit/SceneKit occlusion
I have a simple ARKit/SceneKit app that draws a cube in front of the camera. Using the depth map, I want to hide the cube pixels that are occluded by an object. RealityKit supports occlusion, but ...
2
votes
0
answers
649
views
Translating an OpenGL ES 2.0 shader code to Metal (for ARKit scene)
In the past, we had code written in the OpenGL ES 2.0 shader language we used in the Scenekit class. But OpenGL is no longer available for ARkit it's deprecated. Therefore, we have to rewrite these ...