diff options
author | Miika Hamalainen <blender@miikah.org> | 2011-09-12 13:55:04 +0400 |
---|---|---|
committer | Miika Hamalainen <blender@miikah.org> | 2011-09-12 13:55:04 +0400 |
commit | 46aede579e15b4106b0a342dbb7f3b6ea5f088d2 (patch) | |
tree | c2283278c9aa6723da867f2ef4d0daa5744206a9 /source/blender/render/intern/include | |
parent | b8bf0ee822a742039d364991e712dda09b58eb61 (diff) |
Fix for bug #28332: Smoke Simulation rendering artifacts.
Volume pre-caching altered shared data simultaneously in multiple threads, causing invalid scattering results when "Asymmetry" value was used. The view vector is now passed as a function argument.
Diffstat (limited to 'source/blender/render/intern/include')
-rw-r--r-- | source/blender/render/intern/include/volumetric.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/volumetric.h b/source/blender/render/intern/include/volumetric.h index 6d8d4cbe0f2..a2d1821a62b 100644 --- a/source/blender/render/intern/include/volumetric.h +++ b/source/blender/render/intern/include/volumetric.h @@ -36,7 +36,7 @@ struct ShadeInput; struct ShadeResult; float vol_get_density(struct ShadeInput *shi, float *co); -void vol_get_scattering(ShadeInput *shi, float *scatter_col, float *co_); +void vol_get_scattering(ShadeInput *shi, float *scatter_col, float *co_, float *view); void shade_volume_outside(ShadeInput *shi, ShadeResult *shr); void shade_volume_inside(ShadeInput *shi, ShadeResult *shr); |