Skip to content

St0wy/opengl-scene

Repository files navigation

OpenGL Scene

This is the OpenGL scene made in C++ during the Graphics Programming module at SAE Institute.

Cat renderer in the engine.

It has :

  • Physically Based Rendering (PBR)
  • Image Based Lighting (IBL)
  • Deferred Rendering
  • Cascaded Shadow Maps
  • Normal Mapping
  • ACES HDR Tone Mapping
  • Bloom
  • Screen Space Ambient Occlusion (SSAO)
  • Scene Graph
  • Model Loading (OBJ and glTF)
  • KTX Textures Loading

You can read more about the implementation details of this project in this blog post : https://blog.stowy.ch/posts/how-i-implemented-a-deferred-pbr-renderer-in-opengl/

How to build

You need :

  • A C++ 23 compiler that supports C++20 modules. I use Clang 18.
  • CMake 3.28

Then run :

mkdir build

# On Windows
cmake -G Ninja -B build --preset=windows-clang-release # Or debug
# On Linux
cmake -G Ninja -B build --preset=unixlike-clang-release # Or debug

cmake --build build -t opengl_scene

Libraries used