In SceneKit there were shader modifiers. Is there something similar in RealityKit? We need PBR shaders but have to discard certain fragments.
You can apply CustomMaterial
s & CustomMaterial.SurfaceShader
to achieve certain cool effects for entities!
From the metal side you can call discard_fragment()