Fix for [#35490] Initial cube is green, turn off matcap and it is correct color

* Own error from r56980, "smooth" is an Interpolation qualifier in GLSL, so use another variable name to avoid the error.
This commit is contained in:
Thomas Dinges
2013-05-24 12:25:18 +00:00
parent 1693988926
commit 1140051e56

View File

@@ -2063,7 +2063,7 @@ void node_bsdf_glass(vec4 color, float roughness, float ior, vec3 N, out vec4 re
node_bsdf_diffuse(color, 0.0, N, result);
}
void node_bsdf_toon(vec4 color, float size, float smooth, vec3 N, out vec4 result)
void node_bsdf_toon(vec4 color, float size, float tsmooth, vec3 N, out vec4 result)
{
node_bsdf_diffuse(color, 0.0, N, result);
}