How can I make the custom shader stop?

Here’s an example of it being converted to Standard Material chunks: https://playcanvas.com/project/990841/overview/custom-shader-chunks

I’ve added sliders for ‘uTime’ so I can debug it more easily.

The material opacity is now independent from the effect so you can fade the whole thing in and out

2 Likes