Search Unity

Textmeshpro in 3D space and Darkness

Discussion in 'Editor & General Support' started by Cal_Mac, Aug 19, 2019.

  1. Cal_Mac

    Cal_Mac

    Joined:
    Feb 4, 2018
    Posts:
    22
    Really sorry if this is a repost, I have searched. I'm adding in text to a 3D space which is quite dark however I notice that when I add in text. It's always illuminated on the scene, I've tried changing the shaders and googling, but I'm a bit lost. Any help would be awesome.
     

    Attached Files:

  2. MSplitz-PsychoK

    MSplitz-PsychoK

    Joined:
    May 16, 2015
    Posts:
    1,278
    The TextMeshPro/Distance Field (Surface) shader allows the text to be affected by light/shadow.

    c1.PNG
     
    Cal_Mac likes this.
  3. Cal_Mac

    Cal_Mac

    Joined:
    Feb 4, 2018
    Posts:
    22
    Thanks, Although I think this option isn't working for LWRP (I should have mentioned I was using this)
     
  4. Cal_Mac

    Cal_Mac

    Joined:
    Feb 4, 2018
    Posts:
    22
    I found a post from a few years ago saying this is just an effect of the render pipeline and it isn't supported. That is unfortunate.