A straightforward GPU implementation of Jos Stam's "Stable Fluids" on Unity.
C#
1,172
64 commits
updated Aug 28, 2025

This project is a straightforward GPU-based implementation of Jos Stam's Stable Fluids in Unity.
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/StableFluidsContains Jos Stam's Stable Fluids implementation. Access the velocity field
texture via FluidSimulation.VelocityField for rendering or to apply external
forces.
Assets/MarblingContains components for the marbling demo, which advects colors based on the velocity field.
134 followers · starred Jan 2022
228 followers · starred Jul 2023
43 followers · starred Aug 2025
52 followers · starred May 2023
A straightforward GPU implementation of Jos Stam's "Stable Fluids" on Unity.
C#
1,172
64 commits
updated Aug 28, 2025

This project is a straightforward GPU-based implementation of Jos Stam's Stable Fluids in Unity.
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/StableFluidsContains Jos Stam's Stable Fluids implementation. Access the velocity field
texture via FluidSimulation.VelocityField for rendering or to apply external
forces.
Assets/MarblingContains components for the marbling demo, which advects colors based on the velocity field.
134 followers · starred Jan 2022
228 followers · starred Jul 2023
43 followers · starred Aug 2025
52 followers · starred May 2023