So thought of using sprite mask and assign random mask texture, but then they all can be touched and dragged and mask set on 1 image collides with another.
So is there any shader available for cutting images using an input texture which will define the shape?
I will create materials which will be assigned randomly.
^ for me, it is not to be done in Canvas.
It has to be with spriterendrer and spritemask applied on one sprite effects the other while moving it around
hi, this is as close what I want, found this on community.
but I’m not well versed with shader programming, can you tell me if _MainTex can refer to the sprite currently in spriterenderer?