Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)



Are 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...


From what I understand, that paper was extremely influential and the technique has been widely adopted.


UE4/5 implement fonts this way.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: