Skip to content

EwanC/vkParticle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vkParticle

Vulkan GPU particle simulation using both graphics and compute. Based on the Khronos Vulkan Compute Shader Tutorial.

Modifications from tutorial include:

  • Using specialization constant in shader to control number of work-items in a work-group from host-code.

Only tested on Ubuntu 24.04 and requires a C++20 compiler to build along with the Vulkan-SDK. See Development Environment for more details on the build setup.

Sample command line for building and running application, the validation layer is enabled in Debug builds:

$ mkdir build && cd build
$ cmake ../ -GNinja -DCMAKE_CXX_COMPILER=clang++-19
$ ninja
$ cd build && ./vkParticle

Press Escape key to exit, or close window in GUI.

capture

About

Vulkan GPU particle simulation using both graphics and compute

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published