[Bf-blender-cvs] [8ef2314] master: Fix T40816, SSS brightness difference with Sample All Direct Lights.
Thomas Dinges
noreply at git.blender.org
Thu Jun 26 21:30:56 CEST 2014
Commit: 8ef23145975b8d5501d8a0e2b4e7029b12aa803b
Author: Thomas Dinges
Date: Thu Jun 26 21:30:19 2014 +0200
https://developer.blender.org/rB8ef23145975b8d5501d8a0e2b4e7029b12aa803b
Fix T40816, SSS brightness difference with Sample All Direct Lights.
This has been fixed before, but somehow got reverted in d644753319b6.
===================================================================
M intern/cycles/kernel/kernel_path_surface.h
===================================================================
diff --git a/intern/cycles/kernel/kernel_path_surface.h b/intern/cycles/kernel/kernel_path_surface.h
index 11fadcc..7700abf 100644
--- a/intern/cycles/kernel/kernel_path_surface.h
+++ b/intern/cycles/kernel/kernel_path_surface.h
@@ -112,7 +112,7 @@ ccl_device void kernel_branched_path_surface_connect_light(KernelGlobals *kg, RN
if(!shadow_blocked(kg, state, &light_ray, &shadow)) {
/* accumulate */
- path_radiance_accum_light(L, throughput, &L_light, shadow, num_samples_adjust, state->bounce, is_lamp);
+ path_radiance_accum_light(L, throughput*num_samples_adjust, &L_light, shadow, num_samples_adjust, state->bounce, is_lamp);
}
}
}
More information about the Bf-blender-cvs
mailing list