Author Topic: Label Effects.  (Read 4969 times)

dimwalker

  • Guest
Label Effects.
« on: August 09, 2012, 01:45:51 PM »
Is it possible to make outline thicker?
Also I would like to use outline and shadow at the same time.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Label Effects.
« Reply #1 on: August 09, 2012, 02:27:16 PM »
I suggest baking it in Photoshop for your font texture. The way outline and shadow is done is by rendering the text multiple times, which is not ideal. Baking it is a better approach.

simon129

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 20
    • View Profile
Re: Label Effects.
« Reply #2 on: August 09, 2012, 09:12:25 PM »
Is there any tutorial that bake fonts in PS and output BMFont format data ?

Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Label Effects.
« Reply #3 on: August 09, 2012, 09:58:35 PM »
Export the font with padding on all sides of the characters (or at least in the direction where you will be adding a shadow). For example if it's "4" then you will have 4 pixels to work with in Photoshop. After that just open up the texture and add any effect you want to the image and save it. That's all there is to it.

dimwalker

  • Guest
Re: Label Effects.
« Reply #4 on: August 10, 2012, 04:17:03 PM »
The things is label effect creates an outline outside the whole word, looks like comic-book writing which is exactly what I want, and baked outline results in overlapping. See attachment. I can tweak the spacing but there would always be a gap, overlapping or kind of bridge between symbols.

I better configure notifications with the speed of replies here.  :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Label Effects.
« Reply #5 on: August 10, 2012, 04:57:32 PM »
Ah... yeah I see. Not a whole lot I can do there unfortunately. It sounds like what you want is to use depth fields instead of plain textures, and a special shader to draw them.