GitPedia

Unity Boids Behavior on GPGPU

Boids behavior calculation code is modified to utilize Microsoft Direct Compute resulting significant improvements in Performance. 利用Compute Shader实现Boids模拟。

From chenjd·Updated March 5, 2026·View on GitHub·

Support Unity 2021+ Add GitHub Action CI/CD pipeline, you can find the latest exe file at Actions page. The project is written primarily in C#, distributed under the MIT License license, first published in 2017. Key topics include: compute-shader, shader, unity.

Unity Boids Behavior on GPGPU

GitHub

Build By Action

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

Article(Chinese)

利用GPGPU计算大规模群落仿真行为

Ref

Boids

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from chenjd/Unity-Boids-Behavior-on-GPGPU via the GitHub API.Last fetched: 6/27/2026