sndels / pbr-playground

Raymarcher with pbr shading and extensive post-processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pbr-playground

screenshot

The original skunkwork repo that turned into a demo base with a hard coded post-processing pipeline. Implements PBR-shading along the lines of UE4 and also has simplex noise + fbm. MERCURY's HG_SDF is included for CSG. Decent bloom and hdr/gamma -correction are present as post-stages. Mouse click positions are used for camera control. There is some artefacting due to naive reflections (no edge detection) and edge flicker induced bloom flashing.

Dependencies

Building only requires OpenGL externally. GLFW3, GLM, dear imgui and pre-generated gl3w are provided as submodules.

Building

The CMake-build should work™ on OSX, Linux and Windows (Visual Studio 2017).

About

Raymarcher with pbr shading and extensive post-processing

License:MIT License


Languages

Language:GLSL 49.9%Language:C++ 47.1%Language:CMake 3.0%