You can wrap a shader inside a native Framer component and create multiple variants. Then use Framer’s native scroll variants to trigger a change of variant. The change of values and settings will animate for almost all property controls offering a slider.
Steps
Wrap your shader inside a Framer component (Cmd Option K)
Create multiple variants with different settings
Use native Framer scroll sections and scroll variants
Adjust the easing curve of the primary variant to control how fast the animation happens
Scroll variants work with any shader that has a Transition control, and Mesh Gradient is one of the three free ones. The setup steps are in the introduction.
Shaders by Paper is an independent product, not affiliated with paper.design. The shaders come from Paper Shaders, paper.design's open source library, released under the Apache 2.0 license.
next