Skip to content
项目

关于

在 Unity 上对 Jos Stam 的“Stable Fluids”进行的直接 GPU 实现。

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
-1
7天
0
15天
+3
1个月
+3

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

README.md

原文

StableFluids

gif gif

This project is a straightforward GPU-based implementation of Jos Stam's Stable Fluids in Unity.

WebGL Demo

System Requirements

  • Unity 6

Project Structure

While this project uses URP, the following modules depend only on the Core Render Pipeline shader library, making them compatible with any render pipeline (Built-in/Universal/High-Definition).

Assets/StableFluids

Contains Jos Stam's Stable Fluids implementation. Access the velocity field texture via FluidSimulation.VelocityField for rendering or to apply external forces.

Assets/Marbling

Contains components for the marbling demo, which advects colors based on the velocity field.

References

探索相关项目

加载中…