13 float &is_diffuse_ray,
15 float &is_singular_ray,
16 float &is_reflection_ray,
17 float &is_transmission_ray,
18 float &is_volume_scatter_ray,
23 float &transparent_depth,
24 float &transmission_depth,
34 is_singular_ray = is_glossy_ray;
35 is_reflection_ray = is_glossy_ray;
36 is_transmission_ray = is_glossy_ray;
38 diffuse_depth = (is_diffuse_ray == 1.0f) ? sd.
ray_depth : 0.0f;
39 glossy_depth = (is_glossy_ray == 1.0f) ? sd.
ray_depth : 0.0f;
40 transmission_depth = (is_transmission_ray == 1.0f) ? glossy_depth : 0.0f;
43 transparent_depth = 0.0f;
44 is_volume_scatter_ray = 0.0f;
void node_light_path(const ShadingData &sd, float &is_camera_ray, float &is_shadow_ray, float &is_diffuse_ray, float &is_glossy_ray, float &is_singular_ray, float &is_reflection_ray, float &is_transmission_ray, float &is_volume_scatter_ray, float &ray_length, float &ray_depth, float &diffuse_depth, float &glossy_depth, float &transparent_depth, float &transmission_depth, float &path_depth)