News for hackers. Stuff that matters.
Re:I'm making a game engine based on dynamic signed distance... by cepacked on Monday January 12, 2026 @05:59AM (#46586775)
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)

Re:I'm making a game engine based on dynamic signed distance... by kaoD on Monday January 12, 2026 @08:01AM (#46587856)
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...

Re:I'm making a game engine based on dynamic signed distance... by mikkupikku on Monday January 12, 2026 @12:14PM (#46591358)
From what I understand, that paper was extremely influential and the technique has been widely adopted.
Re:I'm making a game engine based on dynamic signed distance... by nineteen999 on Tuesday January 13, 2026 @06:48AM (#46599811)
UE4/5 implement fonts this way.