Another new tutorials is finally available at GitHub! In this part we look into using textures with shaders.
In an sub-part of the tutorial it is explained how to use textures to do font rendering in OpenGL!
Now a quick overview what to learn in the new tutorials:
- Creating textures
- Uploading the pixel data to the GPU
- Using the texture in shaders
- Creating a texture atlas
- Loading TrueType Fonts
- Determine width and height for the texture
- Generating the texture and draw font glyphs on it
- Rendering the text
That font rendering part is already using batch rendering, so the next tutorial will be about how to create a batch!