GitHunt
JA

janekb04/PBRDemoOGL

Modern OpenGL-4.6 PBR renderer using compute shaders and multi-draw-indirect. Written in C++. Made for educational purposes.

Screenshot

Rendering

My second OpenGL demo. It features efficient (near zero CPU cost) rendering with glMultiDrawElementsIndirect and features PBR shading. It uses compute shaders to shade instead of the traditional fragment shaders.

The gun model is by Andrew Maximov.

I made it in 2019 to learn PBR rendering, glMultiDrawElementsIndirect and in general OpenGL 4.6.

Languages

C++64.5%C34.5%Objective-C0.8%GLSL0.1%

Contributors

Created March 13, 2020
Updated May 30, 2025