Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 560 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 560 Bytes

Go Multi Channel Distance Field example

This repo demonstrates how to render glyph using the MSDF technique using Go, GL and GLSL.

This code can load a 64x64px glyph and display it anti aliased at any resolution. It does not take care of generating the MSDF texture from a truetype font, only display is implemented. The interesting part is the fragment shader.

Please see https://github.com/Chlumsky/msdfgen for more detailed explanations about MSDF and credits.