Fix T48216: Cycles light fallof node gives black emission in baking.

This commit is contained in:
Brecht Van Lommel
2016-04-23 02:58:37 +02:00
parent c41b2bd7c6
commit 23a9fede69

View File

@@ -303,7 +303,7 @@ ccl_device void kernel_bake_evaluate(KernelGlobals *kg, ccl_global uint4 *input,
/* dummy initilizations copied from SHADER_EVAL_DISPLACE */
float3 I = Ng;
float t = 0.0f;
float t = 1.0f;
float time = TIME_INVALID;
/* light passes */