Skip to content
项目

关于

使用计算着色器和程序化实例化的示例。

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Swarm

Swarm is an experimental project that tries to find an interesting way of utilizing the procedural instancing feature that was newly introduced in Unity 5.6.

There are two types of renderers in Swarm.

Swirling Swarm

screenshot screenshot

Swirling Swarm simulates particle motion within a divergence-free noise field and draws trace lines along it. The simulation is reset in every frame, but the noise field keeps moving slowly, so that it gives the impression that the swirls are slowly moving around and changing their shapes.

Crawling Swarm

screenshot screenshot

The basic concept of Crawling Swarm is the same to Swirling Swarm; it simulates particle motion within a noise field, but it's constrained with a distance field volume. It tries to keep distances between the particles and the object surface as low as possible. It gives the feeling that the lines are crawling around on the surface and cover it.

System Requirements

  • Unity 5.6 or later

Swarm only runs on the platforms that support compute shaders and GPU instancing.

License

MIT

探索相关项目

加载中…