TMP text: black boxes around letters

Hi!

My text is having black boxes around the letters, depending on the camera distance:

4485283--412996--upload_2019-4-30_13-56-28.png

It is within a canvas.

I have created TextMeshPro Assets with the following settings:
4485283--412993--upload_2019-4-30_13-55-32.png

Here are the object settings. All the material options are disabled.

How can I get rid of the Boxes?

Thank you in advance!
Andre

Increasing the sharpness to 1 removed the box

EDIT: But only in the editor, not in the Oculus build.

See FAQ Question 2 and 11.

This issue is the result of the ratio of sampling point size to padding being too small. You typically want to target a ratio of 10%.

Using an 8192 x 8192 texture size is likely excessive just for the Extended ASCII set. This would result in a very larger sampling point size whereas your padding is only 5 thus most likely resulting in a much smaller ratio.

Sampling point size of about 72 to 90 is usually fine. Most likely, you can fit the extended ASCII in a 1024 x 1024 or maybe 2048 x 2048.

Also keep in mind that with the Dynamic system, you could stick to a 1024 x 1024 with sampling of 90 with padding of 9 and then use a fallback for the extra characters.

There are more options / ways to structure this but lets start here.

5 Likes