Hi!
I made this distort shader to add to a particle system, this way I can achieve a distorting effects when the particle start dying out . But its not working like I wanted.
the distorting effects need to happen when the particle to die out, so i need way to control with the custom data.
If I understand the question correctly, you need a material controller in the particle system. Create a uv and connect to the parameter you want to change, then turn on custom vertex streams and add uv2 and custom2.xyzw, then turn on custom data and change the parameter, sorry for the english and picture quality. View this Unity - Custom Vertex Stream and Shadergraph/Amplify Shader
I’m a beginner so I’m not sure if I reconstructed the effect correctly. This is a combined distortion and alpha erosion(dissolve) . I will throw off the project with this effect.
note UV0 split-> (Blue) corresponds to [custom1.x] on the particle system UV0 Red and Green channels in the setup are reserved for actual UV space (not customizable)
the custom1.x curve will drive distortion over time which is added → UV → texture