Skip to content

Graphics Tools/Text Mesh Pro shader generates crispy fonts in Text mesh Pro 3.2.0 #227

Description

@Maesla

Describe the bug

Fonts are crispy using Text Mesh Pro 3.2.0 and shader Graphics Tools/Text Mesh Pro

To reproduce

Steps to reproduce the behavior:
Create a text with Text Mesh Pro and shader Graphics Tools/Text Mesh Pro in with Text Mesh Pro version 3.0.x (3.0.6 and 3.0.9 behaves in the same way). I used the font Selawik-Regular-MRTKIcons SDF
Upgrade Text Mesh Pro to 3.2.0
See how the text now is crispy

Expected behavior

The text is clear

Screenshots

Image
Image

Your setup (please complete the following information)

  • Unity Version 2021.3.32
  • Graphics Tools Version 0.7.1

Target platform (please complete the following information)

  • HoloLens 2
  • Standalone PC

Additional Context

In TMP 3.2.0, if I change the font shader from Graphics Tools/Text Mesh Pro to TextMeshPro/Mobile/Distance Field SSD, the text is clear again

Activity

  1. Cameron-Micka commented on Nov 13, 2024

    @Cameron-Micka
    Member

    Thanks for reporting this Manuel Espino (@Maesla)! My guess is this PR regressed the behavior for 2021.

  2. Cameron-Micka commented on Nov 21, 2024

    @Cameron-Micka
    Member

    Hi Manuel Espino (@Maesla) I was able to reproduce this and it boils down to this check not being perfect:

    I thought TMP 3.2+ required Unity 6+. But it looks like you can still use TMP 3.2+ in 2020-2021 as a pre-release package (I repro'ed with 3.2.0-pre.10).

    I see a way to fix it, but it will require I reorganize the shader quite a bit. The question is how much do you need this fixed, or can you upgrade to Unity 6 or downgrade to Text Mesh Pro 3.0?

  3. Maesla commented on Nov 25, 2024

    @Maesla
    Author

    Hi Cameron (@Cameron-Micka),

    We upgraded TMP because we had a bug and because we needed some new functionality, but we'll try to downgrade again.

    Thanks for taking a look

  4. Cameron-Micka commented on Dec 2, 2024

    @Cameron-Micka
    Member

    Thank you Manuel Espino (@Maesla) for trying to downgrade - I'll keep this issue open so we can fix it in the future, and I'll let you know when it gets fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingin progressThis issue is currently being worked on

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions