diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-06 16:40:55 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-06 16:40:55 +0300 |
commit | d6ae94b9885d260f058da057b5a47762680d32c9 (patch) | |
tree | fe1b75c9ae0be7c1a94e4e70eb0bc1f6cc7a7d75 /source/blender/gpu | |
parent | 42824f4403db3a35b718459fc01d87ce458565ab (diff) |
Cycles: Fix compilation error of Hair BSDF GLSL shader
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_material.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_material.glsl b/source/blender/gpu/shaders/gpu_shader_material.glsl index 0471ff3c293..18468c1674f 100644 --- a/source/blender/gpu/shaders/gpu_shader_material.glsl +++ b/source/blender/gpu/shaders/gpu_shader_material.glsl @@ -2382,7 +2382,7 @@ void node_subsurface_scattering(vec4 color, float scale, vec3 radius, float shar node_bsdf_diffuse(color, 0.0, N, result); } -void node_bsdf_hair(vec4 color, float offset, float roughnessu, float roughnessv, out vec4 result) +void node_bsdf_hair(vec4 color, float offset, float roughnessu, float roughnessv, vec3 tangent, out vec4 result) { result = color; } |