- Home /
This question was
closed Jun 02, 2016 at 08:41 PM by
Flaring-Afro for the following reason:
The question is answered, right answer was accepted
Question by
Flaring-Afro · Jun 02, 2016 at 08:23 PM ·
uishaderstransparency
Can a UI element create transparency in another under it?
I want to have text over buttons where the text is completely transparent. Because of the way Unity renders graphics, it seems like the only way to do this is to import a PNG of every button with every text you use, and there are too many in my project to do this.
Ex:
Is there a way to accomplish this in the engine?
button-example.jpg
(117.2 kB)
Comment
Best Answer
Answer by Flaring-Afro · Jun 02, 2016 at 08:40 PM
Actually, I finally found the right keywords to search for this. It's called a "Reverse Mask" and this is what I used.