Category Archives: Quick N Dirty Gfx Samples

OpenGL Texture Mapping

Purpose of the Sample:

Demonstrates how to texture map a quad.  This sample is based on the learnopengl.com tutorial.

CGame.h

CGame.cpp

vertex.glsl

fragment.glsl

Download Sample App