Fix T48216: Cycles light fallof node gives black emission in baking.
This commit is contained in:
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
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue