Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: adam718 on May 21, 2013, 09:27:49 PM

Title: Outline of Label doesn't work with alpha.
Post by: adam718 on May 21, 2013, 09:27:49 PM
Hi! Aren.
As you can see image, normal label with alpha = 0.5 works correct, but outline label with alpha = 0.5 looks weird.
outline color seems to affect to body.

It's bitmap font.

(http://www.tasharen.com/forum/index.php?action=dlattach;topic=4334.0;attach=1973)

How can I resolve it?

Kind Regards
Adam.
Title: Re: Outline of Label doesn't work with alpha.
Post by: dlewis on May 22, 2013, 12:32:20 AM
I believe the way it does the outline is actually draw the text multiple times in the colour of the outline with an offset and then draw the text one final time at the text colour. This way it looks like there is an outline but it's not really so when you start to alpha you will see all the times it was drawn with the outline. So no way to fix it with the current way that it's done.
Title: Re: Outline of Label doesn't work with alpha.
Post by: ArenMook on May 22, 2013, 09:49:39 AM
Yup, exactly.