gpu cloth simulation

#projects

a simulation of cloth using opengl compute shaders on the gpu

this was the first time i really experimented with compute shaders, having previously only written visual shaders (vertex/fragment/geometry)

the cloth is a subdivided plane, and each vertex is integrated using verlet integration multiple times each frame for stability. it also collides with the terrain!

screenshots