Cycles:
authorThomas Dinges <blender@dingto.org>
Sun, 16 Oct 2011 14:11:53 +0000 (14:11 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 16 Oct 2011 14:11:53 +0000 (14:11 +0000)
* World background was emitting light, even after removal of World shader nodes.

intern/cycles/kernel/kernel_shader.h

index c1bcbb067b56b8d09133be3e091f96a216bf17c9..ac0df71c38f552fdfa4dc462dca17758c785874e 100644 (file)
@@ -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