3D SPH Fluid Simulation's icon

3D SPH Fluid Simulation 1.0.0 3D Tools 4.6 Community

Submitted by user deni1000; MIT; 2026-05-02

A high-performance 3D fluid simulation addon powered by Compute Shaders (GPGPU). This asset implements the Smoothed Particle Hydrodynamics (SPH) method, allowing for tens of thousands of interactive particles at real-time frame rates.

By offloading all physics calculations (density, pressure, viscosity, and integration) to the GPU, this addon bypasses the CPU bottleneck common in particle systems.

Key Features:
Massive Particle Counts: Efficiently simulates 32k+ particles on mid-range GPUs using spatial hashing.

Fast Spatial Hashing: Implements a GPU-based prefix sum (scan) algorithm for rapid neighbor searching.

SDF Collision Handling: Integrated Signed Distance Field (SDF) collision system for smooth interaction with complex 3D geometry.

MultiMesh Rendering: Optimized drawing using MultiMesh to minimize draw calls.

Real-time Interaction: Support for external forces like gravity, damping, and mouse-based interaction.

GLES3/Vulkan Ready: Built using Godot’s RenderingDevice API for modern hardware compatibility.

Technical Details:
Method: SPH (Smoothed Particle Hydrodynamics).

Optimization: Bitwise spatial hashing & parallel prefix sum.

Collision: Texture-based 3D SDF.

Language: GLSL (Compute Shaders) & GDScript.


View files Download Submit an issue Recent Edits