Search Unity

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

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    194
    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,723
    Slim chance but was TMP Examples & Extras updated?
     
    Krooq likes this.
  6. Krooq

    Krooq

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