3 ms·
One of my coworkers did a basic implementation of SDF (signed distance fields) based on the Valve white paper [1]. He was implementing smoothing for fonts but t
by reggieband 7y ago
One of my coworkers did a basic implementation of SDF (signed distance fields) based on the Valve white paper [1]. He was implementing smoothing for fonts but the work applied to most vector shapes. IMO, it gave exceptional results and he claimed it was a reasonably simple implementation.
1. https://steamcdn-a.akamaihd.net/apps/valve/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf https://steamcdn-a.akamaihd.net/apps/valve/2007/SIGGRAPH2007...
- srgpqt 7y agomsdfgen : https://github.com/Chlumsky/msdfgen https://github.com/Chlumsky/msdfgen