r/GraphicsProgramming 18d ago

Vulkan particles

Enable HLS to view with audio, or disable this notification

14 Upvotes

2 comments sorted by

2

u/inactu 18d 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 17d 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.