Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: invincible0918 on May 06, 2013, 03:47:04 AM
-
Now the UIPanel only has rectangle clip,but i wanna use a mask texture to clip , such as a ellipse shape, how could i did this ?
-
I'm looking for the exact same thing :). It would be nice if we can use a custom alpha mask.
-
This is the only way I have seen:
http://pixelplacement.com/2011/02/15/masking-in-unity/ (http://pixelplacement.com/2011/02/15/masking-in-unity/)
-
To be clear, are you trying to mask its children? Not really clear on how that works.
If you just want an odd-shaped window, you can always just draw the irregular shape and leave the background of the sprite transparent.
-
Yes,I'm trying to mask its children,but now I still can't find a good way to achieve it.