Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
Steve Potter's user avatar
  • 1,919
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 ...
Oktay Kurt's user avatar