This is my first deferred rendering project.
System Requirements:
- Opengl
4.5
or higher - Go 1.18 or higher
- A 1920x1080 display or higher
Use go run .
to start the demo.
The first compilation might take a few minutes!!
You can also download one of the prebuilt binaries from GitHub, just make sure to place them next to the assets
folder.
There are two launch options:
-disable-shader-cache
: To disable the usage of the.shadercache
folder.-enable-compatibility-profile
: To create an OpenGL compatability context
For some reason this project freezes with Intel UHD Graphics.
Press Alt to lock/unlock the cursor.
Use W, A, S, D to move horizontally, Space and Ctrl to move vertically. Hold Shift to fly faster.
Press Strg+F11 to dump the framebuffers into ./dump
.
The demo uses 'regular' deferred rendering and supports
- Physically Based Bloom
- Screen Space Ambient Occlusion
- Percentage Closer Filtered Shadow Mapping for directinal lights
- Multicolored directional, spot and point lights
- Screen Dithering
- Color Mapping
- ImGui