Skip to content

MPrangley3D/OpenGL-Samples-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL C++ Study Samples

This is a repo to store my C++ OpenGL work as I explore the OpenGL Libraries GLEW and GLFW.

"Toy" Phong OpenGL & C++ Renderer

This simple render engine supports the following features:

  • Simple Phong lighting model
  • Mesh importing
  • Texture Loading
  • Model, View, and Projection matrix transformations
  • Skyboxes
  • Interpolation & Indexed Draws
  • Camera movement with WASD
  • Flashlight toggling with 'F'
  • RGB Point Lights w/ Attenuation
  • RGB Spotlights w/ Attenuation
  • RBG Directional Lighting
  • Directional Shadowmapping w/ PCF Filtering
  • Omnidirectional Shadowmapping (Point & Spotlights) w/ PCF Filtering
  • Vertex, Fragment, and Geometry shaders utilized

Point Lights:

Spot Lights:

Model Loading

Directional Shadowmaps

Omnidirectional Cube Maps + 'F' to toggle Flashlight

Skybox

Acknowledgements