/clustered_forward_demo_vk

Clustered forward rendering demo with Vulkan

Primary LanguageC++MIT LicenseMIT

Clustered Forward Shading Demo with Vulkan

This demo is based on the slides and OpenGL code by Ola Olsson. The following modifications are made comparing to the original implementation:

  • light list generation using compute shaders
  • simplified view_z to grid_z conversion grid_z = log( ( - view_z - cam_near ) / ( cam_far - cam_near ) + 1.0 )

Notes

  • The demo currently only runs on Windows platform.
  • External dependencies such as glm, gli, and assimp are set as git submodules.
  • Makefile is generated using CMake.

Controls

  • orbit: arrow keys
  • zoom: mousewheel
  • pan: A/D/R/F
  • forward/backward: W/S
  • decrease/increase lights: NUM_9/NUM_0

Issues and pull requests are welcome!