First Text Rendering

/ Februar 5, 2021/ Allgemein

Finally I was able to implement a first version of text rendering. Now showing the obligatory „Hello World“.

The text engine uses Freetype to create a texture for every glyph. These textures are then mapped on quads. The quad vertices are created to match there glyph.

This quad is then transformed based on the glyph’s position and dimension inside the text.

It is all rendered in a special alphablending enabled tree section in a new render node with a special text shader.

Share this Post