Fix GLSL after 7765b73f6d (Transparent Depth).

This commit is contained in:
Thomas Dinges 2014-04-21 16:31:46 +02:00
parent 04a10907dc
commit 87628cc5fb
1 changed files with 3 additions and 1 deletions

View File

@ -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)