Compute N-Body Simulating NBody via compute shader See "compute" scene. Quick flow: pass particles as array. calculate forces in 2d texture sum the matrix via fancy parallelization. apply forces.