Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / [SOLVED] How to use "shader" to add outline to "TTF FONT"?

User Offline
Joined: 12th Mar 2022
Posted: 24th Jun 2022 09:04
How to use "shader" to add outline to "TTF FONT"?

The author of this post has marked a post as an answer.

Go to answer

User Offline
Joined: 1st Mar 2022
Posted: 29th Jul 2022 05:49
This post has been marked by the post author as the answer.
What I usually do is create two text objects.
In the same position, one (Bigger) is the outline, Black color for say, and the 2nd is just a tiny bit smaller, is the original text.

If its too many draw calls, I will use Bitmap Fonts, which bench the Black outline into one Text object.

Login to post a reply

Server time is: 2022-08-09 09:06:24
Your offset time is: 2022-08-09 09:06:24