Category Archives: Quick N Dirty Gfx Samples

OpenGL Simple Triangle

Purpose of the Sample:

Demonstrate how to create and render a vertex buffer object.
This sample is based on the learnopengl.com tutorial.

CGame.h

CGame.cpp

vertex.glsl

fragment.glsl

Download Sample App