Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question World Space canvas TextMeshPro UI distance blurry text

Discussion in 'UGUI & TextMesh Pro' started by rajma9999, Jun 20, 2023.

  1. rajma9999

    rajma9999

    Joined:
    Feb 11, 2014
    Posts:
    2
    Hi, I have a problem with TextMeshPro UI.
    I've imported custom font OpenSans and tried playing with the settings, also changed material to TextMeshPro/Distance Field SSD. But that didn't helped. Played with scaling world space canvas, resizing font of text to a really big, then to a really small, also scaled gameobject of the text and canvas. Nothing helped...
    The only thread I found with similar problem is this:
    https://forum.unity.com/threads/blur-when-text-is-in-world-position-away-from-camera.905393/
    But the solution didn't help me, using Distance Field SSD as a shader.
    I've attached image with card, the text in the BLACK background image is blurry, not sharp with cubes and poor quality. The other texts are the same. Except in the card description, it is Screen Space Overlay, as a workaround, but I don't want to use it as a Screen Space Overlay, because my object changes position, rotation etc... So does anyone know how to fix this poor quality text? It is in World Space Canvas, TextMeshPro UI, comparing to Screen Space Overlay text, it is really poor.
    P.S. played with font asset settings, still no luck, tried to change every setting.
    P.S.S. I'm using latest unity 2022 LTS

    bugwithtext.jpg
     

    Attached Files:

    Last edited: Jun 20, 2023
  2. rajma9999

    rajma9999

    Joined:
    Feb 11, 2014
    Posts:
    2
    Okey, found a problem. Anti-aliasing causing this, setting anti-aliasing on camera to None or SMAA fix the problem with text. But thats not that I want, I'm using FXAA, how to keep this setting and not to screw up the text?