forked from bartvdbraak/blender
Cycles: Fix typo in split kernel
Shadow blocked kernel was using wrong array for storing intersection.
This commit is contained in:
parent
3300b1f232
commit
537f41250f
@ -73,10 +73,12 @@ ccl_device void kernel_shadow_blocked(
|
||||
|
||||
ccl_global Ray *light_ray_global =
|
||||
shadow_blocked_type == RAY_SHADOW_RAY_CAST_AO
|
||||
? light_ray_ao_global
|
||||
: light_ray_dl_global;
|
||||
? light_ray_ao_global
|
||||
: light_ray_dl_global;
|
||||
Intersection *isect_global =
|
||||
RAY_SHADOW_RAY_CAST_AO ? isect_ao_global : isect_dl_global;
|
||||
shadow_blocked_type == RAY_SHADOW_RAY_CAST_AO
|
||||
? isect_ao_global
|
||||
: isect_dl_global;
|
||||
|
||||
float3 shadow;
|
||||
update_path_radiance = !(shadow_blocked(kg,
|
||||
|
Loading…
Reference in New Issue
Block a user