How to run compute shader in screen-space on RealityKit frame?

How can you run a full-screen compute pass on the final rendered frame of RealityKit to add, for example, a glowing effect to some objects, or, say, apply a sepia filter?

This is possible in SceneKit with SCNTechnique, but I can't find the equivalent on RealityKit.

Replies

We introduced custom post processing effects this year, you need to use these APIs. Also take a look at the underwater sample demo and our advanced rendering WWDC21 talk.

Thanks for the reply; that's right, but SceneKit still offers more flexibility... I'll have to stick with SceneKit a bit longer! It'd be great to make RealityKit reach at least the specs of SceneKit in terms of rendering flexibility. Hopefully next year! :)