Learn OpenGL

Joey de Vries

Joey de Vries’s online book on modern OpenGL (3.3 core), with C++ examples for every chapter. It starts by opening a window and drawing a triangle, then covers lighting, model loading, framebuffers and shadows, and later PBR. One section builds a Breakout clone from start to finish. It assumes you already know some C++.

What you'll learn

  • Shaders, textures and coordinate transformations
  • Building a free-moving 3D camera
  • Phong lighting, materials and light casters
  • Loading 3D models with Assimp
  • Shadow mapping, normal mapping, HDR and bloom
  • Physically based rendering with image-based lighting

More Game Dev courses