Monthly Archives: July 2020

OpenGL 2D Facade (5): Textures

In this post, I introduce OpenGL textures and use them to draw tiles from tilesets.

Posted in Tutorial | Tagged , | Leave a comment

OpenGL 2D Facade (4): Shaders

Shaders are one of the powerful features of OpenGL. I introduce them in this post and show how to color vertices using vertex and fragment shaders.

Posted in Tutorial | Tagged , | Leave a comment

OpenGL 2D Facade (3): Vertex Array Objects

Vertex Arrays Objects allow us to send large meshes to the GPU. It is a bit technical, but this is something we only have to do once.

Posted in Tutorial | Tagged , | Leave a comment