Author Topic: Outline of Label doesn't work with alpha.  (Read 1990 times)

adam718

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 60
    • View Profile
Outline of Label doesn't work with alpha.
« 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.



How can I resolve it?

Kind Regards
Adam.

dlewis

  • Guest
Re: Outline of Label doesn't work with alpha.
« Reply #1 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.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Outline of Label doesn't work with alpha.
« Reply #2 on: May 22, 2013, 09:49:39 AM »
Yup, exactly.