Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

TMPro Invert Color Shader

Unity Shader for inverting TMPro text color based on what's behind it

Special thanks to @QuiteDan for providing the original invert shader in a Unity Forum post from 2013!

Setup

  1. In Unity, go to Package Manager and make sure you have TMPro installed
  2. Then go to Import Package -> Custom Package and select TMProInvert.unitypackage from this repo
  3. That's it! Now in your TMPro text, scroll down until you see "FONTNAME Material" and where it says "Shader", select TextMeshPro -> Distance Field Invert

About

Unity Shader for inverting TMPro text color based on what's behind it

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages