Help, when I change the Dilate in Text, it adds a black background!

Adjust the parameters of the outline of the font material for the letters to be displayed using Text Mesh Pro.
And also change the Dilate of the Face of the material so that the letters will not be too thin.

However, if the outline and Dilate values are changed and the font size is smaller, the text will have a black, garbage-like background.
See the following image.
9623096--1366370--fonts.png
This is not shown in scene view, but in game view.
And it shows up when you run the build. I wish it was the other way around.

How can I stop this black garbage in the background from showing up?

This extra color turned out to be the outline color.
If we set the outline color to green, we get the following

BUMP

BUMPBUMP

Try increasing the Font Padding value in your font asset. Padding is needed to create room for the SDF gradient. (It’s the Sampling Point Size : Padding ratio that’s important. Higher % reduces artefacts)

1 Like

More info and other options in this thread:

1 Like

thanks!