Godot Star Systems - GLSL Compute Shader with Merging
Channel:
Subscribers:
529
Published on ● Video Link: https://www.youtube.com/watch?v=2Xc52zeST5o
Godot (3-pass) GLSL Compute Shader for N-Body simulation.
Tested with point count up to 50,000 but still uses O(N^2) for now. Slow to start up but climbs up to 25 FPS as the points merge together and buffers are rebuilt. The force and merge calculations are not optimized yet but are not terrible as-is. Biggest performance hit comes from simply having to copy the large texture to the CPU every tick.
Code will be uploaded to the GitHub repository soon, along with a longer video describing how the project works:
GitHub: https://github.com/ThePathfindersCodex
IS THE AUDIO TOO LOUD IN THIS SHORT? help me make better content by letting me know!