Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Feature Request Make Text Mesh Pro shaders compatible with Hybrid Renderer

Discussion in 'Graphics for ECS' started by Krooq, Jan 11, 2022.

  1. Krooq

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    196
    It seems that the Text Mesh Pro shaders are not DOTS compatible.
    I consider these to be on equal footing with the build-in lit/unlit shaders, I hope that DOTS support can be added to them!
     
  2. joelv

    joelv

    Unity Technologies

    Joined:
    Mar 20, 2015
    Posts:
    203
    I asked around and it seems that in latest (or upcoming) TextMeshPro packages (3.2.0-pre.2) there will be ShaderGraph versions of the shaders. These should potentially work out of the box but I have yet had no time to confirm this.
     
  3. Krooq

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    196
    That's great news!
     
  4. Krooq

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    196
    Had a look in TextMeshPro (3.2.0-pre.3) and still no shader graph.
    Any updates?

    EDIT: I was incorrect, definitely shader graph shaders in there.
     
    Last edited: Jun 1, 2022
  5. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,725
    Slim chance but was TMP Examples & Extras updated?
     
    Krooq likes this.
  6. Krooq

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    196
    Its not in the examples and extras but this made me have a closer look at the main asset files and low and behold there are shader graph shaders there!
    upload_2022-6-1_13-26-54.png

    Sorry was clearly having a moment XD
     
    hippocoder likes this.
  7. joelv

    joelv

    Unity Technologies

    Joined:
    Mar 20, 2015
    Posts:
    203
    Good that its there.

    I asked around and got the answer you need to re import the essential resources.

    User has to update / re-import the TMP Essential Resources which contain the updated shaders incuding the SRP shaders.
    To re-import the TMP Essential Resources or just the updated shaders, use the "Window - TextMeshPro - Import ..." menu.
     
    Occuros, hippocoder and Krooq like this.