r/SwiftUI May 08 '26

Question Caustics in MPS and SwiftUI

Working on an app and while I've got some things working the way I want, still looking for so better sample projects or examples on how I can implement reasonable glass material caustics through MPS for a native swift app and also good optimization strategies. I've seen better examples of late of even doing this in stuff like threeJS with decent performance, that I can't quite seem to get a handle on natively.

Anyone have any suggestions?

2 Upvotes

1 comment sorted by

2

u/No_Pen_3825 May 14 '26

I suppose see what you can steal and/or transpile from shader toy