Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swiftui - Metal Rendering on Apple Watch

Is it possible to render a metal shader on the Apple Watch? I can't anything about doing this but I've seen a few examples of people doing it but no guides. I know MetalKit isn't available but are there any other ways I can render a metal shader on the Apple Watch? (I'm trying to replicate this on the watch). Any help is greatly appreciated.

like image 772
user Avatar asked Sep 07 '25 22:09

user


1 Answers

MetalKit might not be available, but SceneKit is (that's what STS is using in this demo I think). You should be able to implement the effect you linked using a SCNTechnique with a custom metalFragmentShader.

like image 50
Frank Schlegel Avatar answered Sep 12 '25 05:09

Frank Schlegel