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
Notes: blender-bot 2023-02-14 07:58:23 +01:00
Referenced by issue #48216, No bake for emission when using Light Fallof
1 changed files with 1 additions and 1 deletions

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 */