Fix T62712: Cycles world light path node not working.

This commit is contained in:
Brecht Van Lommel 2019-03-18 18:45:17 +01:00
parent dff88a92a4
commit d76fb8ec67
Notes: blender-bot 2023-02-14 11:28:39 +01:00
Referenced by issue #62712, Light Path node seems to be broken
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ ccl_device_noinline float3 indirect_background(KernelGlobals *kg,
# endif
path_state_modify_bounce(state, true);
shader_eval_surface(kg, emission_sd, state, PATH_RAY_EMISSION);
shader_eval_surface(kg, emission_sd, state, state->flag | PATH_RAY_EMISSION);
path_state_modify_bounce(state, false);
L = shader_background_eval(emission_sd);