Hello,
I wonder how can I increase the range of the glow effect in TextMeshPro? I’m using the “TMP_SDF-Surface-Mobile.shader” and I tried to modify the range of _GlowOuter but it didn’t work.
Thanks!
You’ll need to re-render the fontAsset with the Font Asset Creator, such that you have significantly more padding.
This padding amount is best thought of in terms of percentage. A standard seems to be around 10% padding, which doesn’t leave much space for wide/big glows. So try for a 25% Padding to Font Size:
64 points text size, 16 units of padding.
And then see if you can get a good and big enough glow effect around your letters with this.
Be careful… as you creep up in terms of padding percentage, the rendering can take longer, and can even crash entirely.
About 33% is the biggest you can reliably go with most fonts… so something like 45 points and padding of 15 units.
1 Like