Downscaling font becomes grainy
Monkey Forums/Monkey Programming/Downscaling font becomes grainy
| ||
We have a large sized bitmap font we want to use for the entire game, but when scaling it down it becomes grainy. Any ideas on filtering which would be easy to do to make it look better? I don't want to upscale. Another option is to use different sizes of rendered font assets for the different scales but that adds extra resources and memory requirements. |
| ||
I use different sizes, it's not a lot of extra overhead, and you don't need one per size, what I do is for example if I need 6 font sizes for a single font I might create two actual fonts, one will be full size and the other will be either the size of the middle of the 6 or the smallest, I will then scale up or down either the larger or smaller fonts to get the desired effect which at the end of the day all depends on the font itself and the detail within it. |
| ||
If there is no other option I will be doing that, but I use many font styles with many glyphs so the extra overhead is not negligible. |