Cycles: fix glsl error when using light path node.

This commit is contained in:
Brecht Van Lommel 2011-12-01 19:31:36 +00:00
parent d6d6ffd770
commit b7db2587fb
2 changed files with 1448 additions and 1444 deletions

@ -2127,6 +2127,7 @@ void node_light_path(
out float is_shadow_ray, out float is_shadow_ray,
out float is_diffuse_ray, out float is_diffuse_ray,
out float is_glossy_ray, out float is_glossy_ray,
out float is_singular_ray,
out float is_reflection_ray, out float is_reflection_ray,
out float is_transmission_ray) out float is_transmission_ray)
{ {
@ -2134,6 +2135,7 @@ void node_light_path(
is_shadow_ray = 0.0; is_shadow_ray = 0.0;
is_diffuse_ray = 0.0; is_diffuse_ray = 0.0;
is_glossy_ray = 0.0; is_glossy_ray = 0.0;
is_singular_ray = 0.0;
is_reflection_ray = 0.0; is_reflection_ray = 0.0;
is_transmission_ray = 0.0; is_transmission_ray = 0.0;
} }

File diff suppressed because it is too large Load Diff