blender/intern/mantaflow/intern
Brecht Van Lommel c8acb6dd6c Smoke: put density/color in separate textures, fixes for workbench shader
This is more in line with standard grids and means we don't have to make
many special exceptions in the upcoming change for arbitrary number of volume
grids support in Eevee.

The workbench shader was also changed to fix bugs where squared density was
used, and the smoke color would affect the density so that black smoke would
be invisible. This can change the look of smoke in workbench significantly.

When using the color grid when smoke has a constant color, the color grid
will no longer be premultiplied by the density. If the color is constant
we want to be able not to store a grid at all. This breaks one test for
Cycles and Eevee, but the setup in that test using a color without density
does not make sense. It suffers from artifacts since the unpremultiplied
color grid by itself will not have smooth boundaries.

Differential Revision: https://developer.blender.org/D6951
2020-03-11 14:42:46 +01:00
..
strings Fluid: Optimization for smoke simulation (multigrid) 2020-03-07 19:57:06 +01:00
manta_fluid_API.cpp Smoke: put density/color in separate textures, fixes for workbench shader 2020-03-11 14:42:46 +01:00
MANTA_main.cpp Fix part of T73921: hang with Eevee light baking and Mantaflow 2020-03-09 17:11:24 +01:00
MANTA_main.h Fluid: Bounding boxes for effector objects 2020-03-04 18:46:48 +01:00
manta_python_API.cpp