Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.01 KB

README.md

File metadata and controls

44 lines (35 loc) · 1.01 KB

GLRenderer

A simple renderer written with OpenGL featuring realtime graphics techniques

Sponza scene with 2B from Nier: Automata Sponza scene with 2B model from NieR: Automata

Features

  • Phong / Blinn-Phong lighting
  • Model Loading
  • Simple GUI using ImGui library
  • Postprocessing options
  • Antialiasing: MSAA
  • HDR & Bloom
  • Normal mapping
  • Shadow mapping
  • Deferred shading
  • PBR & IBL

Screenshots

Desert Gun Scene with debug UI

Building

Prerequisites

  • OpenGL >= 3.3
  • At least 4GB VRAM recommended for smooth usage
  • C++20, CMake >= 3.10

First, clone the repo:

git clone https://github.com/horamz/GLRenderer

Then generate the build files (using Ninja for build system):

cd path/to/repo
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release 

Then build and run:

cmake --build build && ./build/GLRenderer.exe