Recommended Posts

Is there a way to create text in text2d which has an outline, something like the image below? I'm going to go ahead and assume the answer to this is no, in which case, could this possibly be added in the future?

It's nothing really all that important but it fits with the style of what I'm trying to make.

The css solution to this is to use shadows.

text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;

Whatever the answer may be, thanks for taking the time!

3_8_8.png

Share this post


Link to post
Share on other sites

With some trial and error you can adjust it manually, i think

http://www.babylonjs-playground.com/#20JKMU#0

without my custom editor style, probably better for experimenting:
http://www.babylonjs-playground.com/#1C38ZS#0

Good Luck
 

Edited by Nabroski
edit

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.