I've added a Text Mesh Pro component to my GameObject, as shown here:
I'd like to programmatically vary the value of the Power setting under Glow, in order to create a pulsating effect for my text. Someone posted a related bit of code on the Unity Forum:
m_TextMeshPro.fontSharedMaterial.SetColor(ShaderUtilities.ID_GlowColor, new Color32(255, 240, 0, 100));
But in my case, I'd like to programmatically change the Glow parameters (specifically the Power one) to go from 0 to 1 and then back again... to create a pulsating effect.
I can't find out how to change these parameters. I am beginning to suspect that I need to edit the TextMeshPro/Distance Field Shader in order to to programmatically change the glow. Does anyone know if that is true... and if so, how to do it? Thank you!