Search Unity

TMPro & URP & Lit text

Discussion in 'UGUI & TextMesh Pro' started by Haapavuo, Sep 14, 2021.

  1. Haapavuo

    Haapavuo

    Joined:
    Sep 19, 2015
    Posts:
    97
    Hi,

    We have not found any way to get TMPro text working in Lit mode with URP. Could anyone provide a working shader for this? Thanks!

    PS: Unlit is working fine but we need to have the text affected by the lights (at least the Directional / Ambient Light).
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    See the following thread and posts.

    These new shaders are included in the latest preview of the TMP package which is version 3.2.0-pre.1 for Unity 2020.x or newer.

    Please take the time to review the subsequent posts as there was a new version of SRP (URP & HDRP) recently released that contains API changes which broke the custom inspectors for the shaders included in this preview package. You may run into this issue or perhaps not but just be sure to review those subsequent posts.

    I will have an update for those issue available soon.
     
    Haapavuo likes this.
  3. Haapavuo

    Haapavuo

    Joined:
    Sep 19, 2015
    Posts:
    97
    Thank you, we will look into this!