diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-12-01 23:31:36 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-12-01 23:31:36 +0400 |
commit | b7db2587fb839ff8586ca377c8cc93175e38f470 (patch) | |
tree | c4716b8f5588ad1790b7f843a0402753e0f9f1b7 /source/blender/gpu/intern/gpu_shader_material.glsl | |
parent | d6d6ffd77039fd986024ff52dc63b9a7f6d88113 (diff) |
Cycles: fix glsl error when using light path node.
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_material.glsl')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_material.glsl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_material.glsl b/source/blender/gpu/intern/gpu_shader_material.glsl index 5d2da31ac5f..4e5ee71431a 100644 --- a/source/blender/gpu/intern/gpu_shader_material.glsl +++ b/source/blender/gpu/intern/gpu_shader_material.glsl @@ -2127,6 +2127,7 @@ void node_light_path( out float is_shadow_ray, out float is_diffuse_ray, out float is_glossy_ray, + out float is_singular_ray, out float is_reflection_ray, out float is_transmission_ray) { @@ -2134,6 +2135,7 @@ void node_light_path( is_shadow_ray = 0.0; is_diffuse_ray = 0.0; is_glossy_ray = 0.0; + is_singular_ray = 0.0; is_reflection_ray = 0.0; is_transmission_ray = 0.0; } |