wizgrav / clustered_forward_demo_vk

Clustered forward rendering demo with Vulkan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

Clustered forward rendering demo with Vulkan

License:MIT License


Languages

Language:C++ 92.9%Language:CMake 4.4%Language:Python 2.7%