This project is a straightforward GPU-based implementation of Jos Stam's Stable Fluids in Unity.
- Unity 6
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).
Contains Jos Stam's Stable Fluids implementation. Access the velocity field
texture via FluidSimulation.VelocityField
for rendering or to apply external
forces.
Contains components for the marbling demo, which advects colors based on the velocity field.