Shader freedom in Shared Space or Immersive Space?

When creating a passthrough AR app (e.g. in shared space or immersive space), can you write your own metal shaders or are there limitations like with Unity PolySpatial?

Replies

Yes, apps written for shared spaces or immersive spaces will have the same 'limitations' as Unity regarding custom Metal shaders. However, it is still possible for you to do something like render to a texture in your own app process using custom Metal shaders, then provide that texture to RealityKit via an API like DrawableQueue.