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

Clustered forward rendering demo with Vulkan

License

Notifications You must be signed in to change notification settings

sydneyzh/clustered_forward_demo_vk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Releases

No releases published

Packages

No packages published