You can see this example with a df font when it is scaled to 0.25 and lower it goes from white to grey. What would be good way to modify it so it maintains color better at smaller scales?
Same but with red
Red with border and shadow set to red is slightly better
The previous distance field font shader rendered the fonts too “thick” compared to the font source file, that might be why it appears the fonts “grey out” more when scaled down now (they appear thinner than previously).
If you want to fiddle with the parameters we use when rendering df fonts, you can copy the df font material and add a vertex program constant and replace elements in var_sdf_params. From the top of my head the value we use for sdf_edge is 0.75, and sdf_outline is some value sdf_edge > sdf_outline > 0 depending on the outline set in the font, and lastly sdf_smoothing is how to blend between edge->outline and outline->outside which is a function of the scale on the component.
Note that we currently don’t take into account the projected screen size of fonts when calculating the smoothing, so your fonts may look strange if using for example a perspective camera. There is a ticket for this DEF-2963.