OpenGL tutorial

Lesson 19: Mipmapping

Add mipmapping to the lesson on textures. Observe how the texture mapping on the triangle in the back looks better.

Make the 'm' key cycle through GL_LINEAR_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, and GL_NEAREST_MIPMAP_NEAREST, and GL_LINEAR. Observe the difference in how the scene looks for each of these.