Back to Writing
NOTESunitytextmeshprouitext-renderinggame-dev

TextMeshPro - Underlay Effect with Negative Outline Width

July 30, 2022Updated Feb 17, 2026

TextMeshPro (TMP) is the text rendering system for Unity.

To use TMP with an underlay effect:

  1. Select the text object
  2. In the TextMeshProUGUI component, set the Outline Width to a negative value to create an underlay effect.
  • Negative values create an underlay (inner outline)
  • Positive values create an outline (outer outline)

Example settings:

  • Outline Width: -1
  • Outline Color: Black

This creates a black underlay behind the text.