I need to implement a mask similar to a Flash's mask. Our artist should be able to rotate, scale and move this mask. I found a simple Mask Shader created by Niki. Sure, I can change texture's offsets, but I cannot rotate and scale this texture.
For this reason, I started implement a custom component(UIMask), which contains two UISprite-s(mask,sprite). But now I have questions.
Is it possible to make it only in one mesh, or I need to create another mesh?
How find an overlap of two sprites and draw only it?
I think that this component will be very useful for many developers)
Sorry for my bad english.