Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.27 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.27 KB

This is my first deferred rendering project.

Screenshot

Running the Demo

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

Issues

For some reason this project freezes with Intel UHD Graphics.

Controls

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.

Tech

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