Fix GLSL after 7765b73f6d
(Transparent Depth).
This commit is contained in:
parent
04a10907dc
commit
87628cc5fb
|
@ -2362,7 +2362,8 @@ void node_light_path(
|
|||
out float is_reflection_ray,
|
||||
out float is_transmission_ray,
|
||||
out float ray_length,
|
||||
out float ray_depth)
|
||||
out float ray_depth,
|
||||
out float transparent_depth)
|
||||
{
|
||||
is_camera_ray = 1.0;
|
||||
is_shadow_ray = 0.0;
|
||||
|
@ -2373,6 +2374,7 @@ void node_light_path(
|
|||
is_transmission_ray = 0.0;
|
||||
ray_length = 1.0;
|
||||
ray_depth = 1.0;
|
||||
transparent_depth = 1.0;
|
||||
}
|
||||
|
||||
void node_light_falloff(float strength, float tsmooth, out float quadratic, out float linear, out float constant)
|
||||
|
|
Loading…
Reference in New Issue