wipe effect

I all
I’m a beginner in shader
I looking for a starting code to make a sort of wipe effect in 2D:

Moving a shape on the screen make appear a texture behind. If the cursor move again over the same path it reveals an other texture behind and again and again.

Is someone can give me a starting point, I’m going in many direction but still stuck

Thanks

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.