Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.11 KB

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!