[Bf-blender-cvs] [d6ae94b] master: Cycles: Fix compilation error of Hair BSDF GLSL shader

Sergey Sharybin noreply at git.blender.org
Wed Apr 6 15:41:27 CEST 2016


Commit: d6ae94b9885d260f058da057b5a47762680d32c9
Author: Sergey Sharybin
Date:   Wed Apr 6 15:40:55 2016 +0200
Branches: master
https://developer.blender.org/rBd6ae94b9885d260f058da057b5a47762680d32c9

Cycles: Fix compilation error of Hair BSDF GLSL shader

===================================================================

M	source/blender/gpu/shaders/gpu_shader_material.glsl

===================================================================

diff --git a/source/blender/gpu/shaders/gpu_shader_material.glsl b/source/blender/gpu/shaders/gpu_shader_material.glsl
index 0471ff3..18468c1 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;
 }




More information about the Bf-blender-cvs mailing list