Search Unity

TMP font alpha in Linear vs Gamma color space

Discussion in 'UGUI & TextMesh Pro' started by IcyHammer, Jun 3, 2019.

  1. IcyHammer

    IcyHammer

    Joined:
    Dec 2, 2013
    Posts:
    71
    When you set rendering color space to Linear the alpha part of the font will get reduced and the effect will be that the font appears thinner and it sometimes produces aliasing. Does anyone know if this issue is being worked on at all? UI could have an option to be always rendered in gamma space, this could fix this issue, or is there something else at play here?
     
  2. IcyHammer

    IcyHammer

    Joined:
    Dec 2, 2013
    Posts:
    71
    This is really problematic when text size is small, lets say around 10 or 12, in gamma space it can be perfectly black on white background, but in linear it will become gray, but when you increase the font size they are both perfectly black, just the alpha gets eaten away at the edges of the glyphs.