Cycles: better path termination for transparency.
[blender.git] / intern / cycles / kernel / kernel_shadow.h
index ab364d3037affe4dc102629b69f71e6aac888462..8a0da6c3b13ba6ee6207fe62afc462e0325b388c 100644 (file)
@@ -86,8 +86,7 @@ ccl_device_forceinline bool shadow_handle_transparent_isect(
                shader_eval_surface(kg,
                                    shadow_sd,
                                    state,
-                                   PATH_RAY_SHADOW,
-                                   0);
+                                   PATH_RAY_SHADOW);
                path_state_modify_bounce(state, false);
                *throughput *= shader_bsdf_transparency(kg, shadow_sd);
        }