Fix T62712: Cycles world light path node not working.
This commit is contained in:
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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue