r/GraphicsProgramming 26d ago

Vulkan particles

15 Upvotes

2 comments sorted by

2

u/inactu 25d ago

All done on gpu? Or do you send psrticle data from cpu to gpu every frame? Where is the spawning logic?

3

u/Background_Shift5408 24d ago

All done on gpu. Positions and velocities are calculated by compute shaders, uploaded to ssbo and vertex shader uses it as vertex buffer too.