0
\$\begingroup\$

This is what I am trying to achieve

Hi, This is what I am trying to achieve: TextMeshPro with double outline.

So far I have tried these combinations:

  1. TextMeshPro + Outline[int the mid] + Underlay [external]. It is close, but not the one I am trying to make. The problem in here: The outer shadow Underlay's Y offset is limited and can't go down below -1. enter image description here

  2. Then I tried to add built-in Shadow component but it did nothing.

Is there any way I can achieve this? I don't want to use 2 TextMeshPros. I haven't tried to achieve this in code because I am a super beginner in unity and open to any guidance on that.

Thanks

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Hello, I can't help you on this but can you tell me what's the font you used ? Thanks ! \$\endgroup\$
    – Arty
    Commented Jan 13, 2021 at 22:48
  • 1
    \$\begingroup\$ @TakahT Sure mate. The font's name is CookieRun. The black version is being used in these images. \$\endgroup\$
    – amira
    Commented Jan 14, 2021 at 5:58

1 Answer 1

1
\$\begingroup\$

I know this is late but here's how you can achieve something similar.

In the Asset Creator, load the font and increase the padding from 5 to 20

Font Asset Creator

Once the font is generated, you can use the underlay settings to increase the distance.

In the shader, the distance -1 to +1 is limited to the padding in between.

Here's something that I achieved with it.

Output

Text Material settings

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .