Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Magic Frame on August 29, 2014, 06:13:06 AM
-
Hi all,
It is possible to do something like what I show in the example photo?
(https://dl.dropboxusercontent.com/u/53455407/test.jpg)
thanks
-
There are 2 things happening in your example: A texture mask, and a second texture layered on top.
Masking a texture with another texture is possible if you write a custom shader for it. Basically you read the color of the main texture normally, then multiply its alpha by the alpha (or greyscale value) of the second texture.