Skip to content

A simple renderer written with OpenGL featuring realtime graphics techniques

Notifications You must be signed in to change notification settings

horamz/GLRenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published