C# OpenGL Newtonian-Particle-Simulator
This is a very simplistic particle engine. The whole pipeline consists out of a single shader program. The vertex shader computes and renders particles at the same time. The fragment shader just outputs the computed colors with blending enabled. The actual particles are stored in a Shader Storage Buffer which is a really useful arbitrary read/write interface of global GPU memory.
Requires OpenGL 4.5.
Also see https://youtu.be/NhnoNYqIhTI.
KeyBoard:
- W, A, S, D => Movment
- E => Toggle cursor visibility
- T => Toggle simulation
- V => Toggle VSync
- F11 => Toggle fullscreen
- LShift => Faster movment speed
- LControl => Slower movment speed
- Esc => Close
Mouse:
- LButton => Set point of mass