Search Unity

Question TMP text looks inaccurate at big font size

Discussion in 'UGUI & TextMesh Pro' started by viktorkadza, May 20, 2020.

  1. viktorkadza

    viktorkadza

    Joined:
    Sep 4, 2018
    Posts:
    46
    Hi,
    just try to figure out how to make TMP text more accurate on higher resolutions,bigger font size. Any ideas how to solve this?
    Regards
    Vikotor
    upload_2020-5-21_0-8-44.png
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Increasing the sampling point size will improve the sampling quality. This will use more texture space.

    It is important to maintain the same ratio of Sampling Point Size to Padding to ensure the visual appearance of the text when using Outline, Shadow, etc, remains consistent across any potential fallback.

    P.S. While you can zoom in the text in the Editor to observe the sampling quality limits, it is important to look at the text at actual rendering resolution as most of the time, you will not be able to see any difference between sampling above 120 (ish) at normal point sizes.

    Ie. Sure you can see the sampling defects when zooming in the Editor but can you see those on the device at actual display size? If the answer is no, save the texture space and use whatever sampling point size looks good to you at actual display resolution.