Hi guys. In my game I want to use some SpriteMask. I wander if I can use my custom shader as a Mask?
In my custom shader I draw a shape that changes over time and I want to use this shader(drawn shape) as a mask.
How can I achive this effect?
P.S. I'm working on 2D game.