stabilize single chunk fluid sim
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2025-01-19 17:46:31 -05:00
parent 1006145eea
commit e9ffee3c83

View File

@ -75,7 +75,7 @@
/**
* Percentage of presure to keep from last frame
*/
#define FLUID_PRESSURECELL_PRESSURE_BACKDOWN_FACTOR 1.0f
#define FLUID_PRESSURECELL_PRESSURE_BACKDOWN_FACTOR 0.0f
/**
* Percentage of divergence to keep from last frame
@ -104,7 +104,7 @@
/**
* Enables recapture of density when velocity pushes it outside of bounds
*/
#define FLUID_PRESSURECELL_ENABLE_RECAPTURE 1
#define FLUID_PRESSURECELL_ENABLE_RECAPTURE 0
/**
* Enables clamping small density values to 0