r/Xcode • • Oct 13 '26

swiftui + metal shaders question

now with si everything is possible, i been testing around for a game that i wanted to bring back again and now with the state of metal i can bring cool animations and effects ts like this water ripple effect, but i still think that is missing something and i found that some interactions with swiftui elements like showing the sheet and liquid glass along with metal produce some frame drops, is this something that i need to improve in the metal shader or in the swiftui side?

0 Upvotes

5 comments sorted by

1

u/No_Theory_7040 Oct 13 '26

What game is this?

1

u/cocolisojon Oct 15 '26

is in testflight but soon after i finish all the things is going to be open source and in the app store

https://testflight.apple.com/join/RurMGWw6

1

u/cocolisojon Oct 15 '26

(free no ads, no iap, no subs….)

2

u/Sid-Hartha Oct 13 '26

Nothing there looks like it should be dropping frames. I don’t see any frame drops. But ultimately you’ll need to start using the instruments probe in Xcode and track ‘animation hitches’. AI (for the love of God don’t start using Trumps SI) will help you.

1

u/liquidsmk Oct 13 '26

jfc i thought that si was a typo, sheesh.