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!
- In Unity, go to Package Manager and make sure you have TMPro installed
- Then go to Import Package -> Custom Package and select
TMProInvert.unitypackage
from this repo - 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