Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiika Hamalainen <blender@miikah.org>2011-09-12 13:55:04 +0400
committerMiika Hamalainen <blender@miikah.org>2011-09-12 13:55:04 +0400
commit46aede579e15b4106b0a342dbb7f3b6ea5f088d2 (patch)
treec2283278c9aa6723da867f2ef4d0daa5744206a9 /source/blender/render/intern/include/volumetric.h
parentb8bf0ee822a742039d364991e712dda09b58eb61 (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/volumetric.h')
-rw-r--r--source/blender/render/intern/include/volumetric.h2
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);