How to implement custom material for vision-os ?

I want to use reality to create a custom material that can use my own shader and support Mesh instancing (for rendering 3D Gaussian splating), but I found that CustomMaterial does not support VisionOS. Is there any other interface that can achieve my needs? Where can I find examples?

Hello,

Could this sample meet your needs?

Generating interactive geometry with RealityKit

It isn't exactly what you need but there seems to be potential in using LowLevelTexture and LowLevelMesh for Gaussian Splatting.

If you need more control consider the CompositorServices framework which supports all Metal features of Apple Family 8 including support for mesh shading.

How to implement custom material for vision-os ?
 
 
Q