Hello,
I'm trying to make a 2D mobile simulation game that is entirely based on particles. It's meant to have different elements you can spawn that act in different ways, at the moment I made water but I need to make the particles collide with other particles in the system and other particles systems. I know the basics of compute shaders but I don't know how to use physics with them. I've seen this in one game called Jelly In The Sky which used compute shaders and particles for self collision.
So what I'm asking is how would I make a compute shaders to calculate the collisions for the particles and make them collide?
Thanks.
↧