2 ms·
I use SDFs on my render engine to render text. It allows me to debug values inside shaders. (I can print value of an uniform, texture value etc.) (It's a combi
by cepacked 9mo ago
I use SDFs on my render engine to render text. It allows me to debug values inside shaders. (I can print value of an uniform, texture value etc.)
(It's a combination of line segments for each letter and digit)
- kaoD 9mo agoAre you aware of Valve's paper[0] for glyph rendering via SDFs? You can get amazing results from a low res glyph atlas. [0] https://steamcdn-a.akamaihd.net/apps/valve/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf https://steamcdn-a.akamaihd.net/apps/valve/2007/SIGGRAPH2007...
- mikkupikku 9mo agoFrom what I understand, that paper was extremely influential and the technique has been widely adopted.
- nineteen999 9mo agoUE4/5 implement fonts this way.