Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

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:
    180
    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:
    180
    That's great news!
     
  4. Krooq

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    180
    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 Moderator

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

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    180
    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.