In this post we will look at loading a texture and applying to the quad that we created in the previous post. The steps involved in this are: Load the texture as an image. Set up OpenGL to use our texture. Modify the Shader for Texture Mapping. Bind the Texture to GPU. Drawing the Quad … Continue reading Texturing the quad
Begginner
Create and Draw Our First quad
In this series we now have: set up our development environment for OpenGL and created our basic game loop class written a simple shader for drawing a colored quad Complied and Linked the Shader with the program. Next we will create a quad by defining its vertices in the screen space and proceed to draw … Continue reading Create and Draw Our First quad