Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: dimwalker 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.
-
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.
-
Is there any tutorial that bake fonts in PS and output BMFont format data ?
Thanks.
-
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.
-
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. :)
-
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.