Unity Boids Behavior on GPGPU
March 1, 2022 · View on GitHub
Update
Support Unity 2021+ Add GitHub Action CI/CD pipeline, you can find the latest exe file at Actions page.
Description:
Implement Boids simulation using Compute Shader.
Originally inspired by Joachim Ante at Unite Europe 2017 - C# job system & compiler Joachim showed how a boids simulation performance increases when using the new Job system, taking full advantage of the multi CPU/Core architecture

Instead of that,I make the GPU-based flocking system. Boids behavior calculation code is modified to utilize Microsoft Direct Compute resulting significant improvements in Performance.

Platform
Windows