Custom SDF text

Опубликовано: 04 Июнь 2026
на канале: Jed037
201
7

Some custom SDF text in my own rust game engine
The font used for this text is "bitstream-vera-sans-mono"
I used my custom built SDF text maker to read the text from "BMP Font Generator" and write the SDF values to a binary file along with the padding for each character.

This turned out pretty decently, it can have sharp edges at very big font sizes and no weird alpha clipping that you'd get with normal alpha clipped text.