Skip to content

kivutar/go-msdf-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An example implementation of rendering text with the multi channel signed distance field technique

Topics

Resources

Stars

24 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages