Cycles: Fix wrong SSS with regular path tracing and clamping enabled
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 26 Nov 2015 11:11:41 +0000 (16:11 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 26 Nov 2015 11:11:41 +0000 (16:11 +0500)
commitbf9e88bfbebaf5c6228363560970fa526e779c8b
tree0dbe6faafbbc97535de223a818a1f8588437f312
parentc8a041f4895bbffc3efbede9c6003961cd59efaa
Cycles: Fix wrong SSS with regular path tracing and clamping enabled

Radiance sum and reset was happening in different order after 26f1c51.

This is a quick fix to unlock Caminandes team, perhaps we can avoid having
separate variable to detect when radiance is to be sum.
intern/cycles/kernel/kernel_bake.h
intern/cycles/kernel/kernel_path.h