diff options
author | Thomas Dinges <blender@dingto.org> | 2011-10-16 18:11:53 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2011-10-16 18:11:53 +0400 |
commit | 60b72a7a41017be884fffbc777336a15204c27fe (patch) | |
tree | 6a1a6b25635c1fc07722f7caecba13eb1efb3a54 /intern | |
parent | d5b679253a09c161707437f0a86bf32d5b548a63 (diff) |
Cycles:
* World background was emitting light, even after removal of World shader nodes.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/kernel_shader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_shader.h b/intern/cycles/kernel/kernel_shader.h index c1bcbb067b5..ac0df71c38f 100644 --- a/intern/cycles/kernel/kernel_shader.h +++ b/intern/cycles/kernel/kernel_shader.h @@ -517,7 +517,7 @@ __device float3 shader_eval_background(KernelGlobals *kg, ShaderData *sd, int pa if(sd->closure.type == CLOSURE_BACKGROUND_ID) return sd->closure.weight; else - return make_float3(0.8f, 0.8f, 0.8f); + return make_float3(0.0f, 0.0f, 0.0f); #endif #else |