twostraws / Inferno

Metal shaders for SwiftUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I have a prototype for a Shimmer effect.

DandyLyons opened this issue · comments

I have a naive prototype for a Shimmer effect (a la SwiftUI-Shimmer ) that I would like to add to the library.

I was able to get the shine working, but the animatable value isn't working correctly. It's pivoting at the top leading corner, and I'd like it to simply slide horizontally. If anyone, has any pointers, that would be much appreciated.

I tried to use the same "uv" method that Paul showed here.

Screen.Recording.2024-03-26.at.11.21.30.AM.mov