Fix T53854: branched path tracing correlation bug with transparency in split kernel.
This commit is contained in:
parent
9466f8f531
commit
2838cf0dfe
Notes:
blender-bot
2023-02-14 06:14:47 +01:00
Referenced by issue #53854, Overlapping volumes render incorrectly with branched path tracing
|
@ -70,8 +70,7 @@ ccl_device void kernel_split_branched_indirect_light_end(KernelGlobals *kg, int
|
|||
}
|
||||
else {
|
||||
/* Update Path State */
|
||||
state->flag |= PATH_RAY_TRANSPARENT;
|
||||
state->transparent_bounce++;
|
||||
path_state_next(kg, state, LABEL_TRANSPARENT);
|
||||
|
||||
ray->P = ray_offset(sd->P, -sd->Ng);
|
||||
ray->t -= sd->ray_length; /* clipping works through transparent */
|
||||
|
|
Loading…
Reference in New Issue