diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-21 00:55:28 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-21 00:56:42 +0400 |
commit | 82a7a3d3ed04b6f93c9e5a32349116122863fec0 (patch) | |
tree | 265d56cf006f2b34d954b96a6f22e72258fe5426 /source/blender | |
parent | fd0b104f706976204ffa978f76faf85378b1b977 (diff) |
Fix T37976: blender internal transparent shadows from volumes not working correct.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/render/intern/source/volumetric.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/volumetric.c b/source/blender/render/intern/source/volumetric.c index e1f616e621a..05d0eff311f 100644 --- a/source/blender/render/intern/source/volumetric.c +++ b/source/blender/render/intern/source/volumetric.c @@ -788,7 +788,7 @@ void shade_volume_shadow(struct ShadeInput *shi, struct ShadeResult *shr, struct /* due to idiosyncracy in ray_trace_shadow_tra() */ if (is.hit.ob == shi->obi) { copy_v3_v3(shi->co, hitco); - last_is->dist -= is.dist; + last_is->dist += is.dist; shi->vlr = (VlakRen *)is.hit.face; } |