关键词:distance Field realtime, SDF: Signed Distance Field
A simple and efficient method is presented which allows improved rendering of glyphs composed of curved and linear elements. A distance field is generated from a high resolution image, and then stored into a channel of a lower-resolution texture. In the simplest case, this texture can then be rendered simply by using the alphatesting and alpha-thresholding feature of modern GPUs, without a custom shader. This allows the technique to be used on even the lowest-end 3D graphics hardware.
1. 研究distance Field技术,并尝试在GPU端进行处理
https://steamcdn-a.akamaihd.net/apps/valve/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf
http://www.codersnotes.com/notes/signed-distance-fields/
https://www.ronja-tutorials.com/2018/11/10/2d-sdf-basics.html
https://www.ronja-tutorials.com/2018/11/17/2d-sdf-combination.html
https://prideout.net/blog/distance_fields/
https://www.shadertoy.com/view/llK3Wm
https://developer.nvidia.com/gpugems/GPUGems3/gpugems3_ch34.html