Skip to content

joarfish/godot_force_field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godot 3D Force Field

Computer Shader based euclidian CFD solver, implemented as a gdextension for Godot 4.4, written in C++ and GLSL.

Video (45MB)

Building and Running

The repository includes an example godot project visualizing the grid and allowing for some simple manipulation. Note that the project uses cmake and not scoons. After building, run make install to copy all relevant files to the project folder.

Notes

The extension currently only works properly with either the DirectX12 or Metal backend. It seems there is a bug in the Vulkan backend that does not allow for using the 3D texture the simulation result is written to in a godot shader.

Resources

This is based on a javascript 2D implementation by Matthias Müller which he explains in a very concise way in this fantastic video.

About

Godot Extension: Compute Shader based CFD Simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors