https://github.com/chenjd/unity-boids-behavior-on-gpgpu
Boids behavior calculation code is modified to utilize Microsoft Direct Compute resulting significant improvements in Performance. 利用Compute Shader实现Boids模拟。
https://github.com/chenjd/unity-boids-behavior-on-gpgpu
compute-shader shader unity
Last synced: 17 days ago
JSON representation
Boids behavior calculation code is modified to utilize Microsoft Direct Compute resulting significant improvements in Performance. 利用Compute Shader实现Boids模拟。
- Host: GitHub
- URL: https://github.com/chenjd/unity-boids-behavior-on-gpgpu
- Owner: chenjd
- License: mit
- Created: 2017-08-12T14:23:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-01T02:52:36.000Z (about 3 years ago)
- Last Synced: 2025-04-02T13:50:24.690Z (24 days ago)
- Topics: compute-shader, shader, unity
- Language: C#
- Homepage:
- Size: 15.8 MB
- Stars: 251
- Watchers: 17
- Forks: 52
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity Boids Behavior on GPGPU


#### 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
](https://www.youtube.com/watch?v=AXUvnk7Jws4&t=317s)
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计算大规模群落仿真行为](http://www.cnblogs.com/murongxiaopifu/p/7308366.html)#### Ref
[Boids](https://www.red3d.com/cwr/boids/)