Search Unity

TMP Outline looks really bad

Discussion in 'UGUI & TextMesh Pro' started by Zephus, Apr 12, 2021.

  1. Zephus


    May 25, 2015
    I'm trying to recreate the text on the right that has been created in Illustrator using a stroke. But no matter what I do, the outline in TMP looks really, really bad (see left image).

    I want it to be smooth, but there are all these jagged edges everywhere. How do I get rid of them? I've played around with the outline and dilation, but it always looks terrible.

  2. Stephan_B


    Unity Technologies

    Feb 26, 2017
    See the following thread / post which explains the different between the various SDF Render Modes.

    The above behavior is the result of the use of one of the SDFAA Render Modes which are designed to be very fast so they can be used with Dynamic Font Assets but are less accurate.

    As per the thread linked above:
    "Although the SDFAA modes are less accurate and visible in the Editor when zoomed in on the text, this is not visible in the game view unless the text is larger than 90 point size as at lower point size, there is not enough pixels to represents those inaccuracies. This would most likely only impact text like Titles."