Fixed remaining syntax errors in OSL files. node_sepcomb_rgb.osl is split into 2...
[blender.git] / intern / cycles / kernel / osl / nodes / node_checker_texture.osl
index 306798b645f5d9a77a90d00e9b03f2eb60b32479..e92d7be34fc31de094a9e1a585ef66b6e618bb68 100644 (file)
@@ -49,10 +49,10 @@ shader node_checker_texture(
 {
        Fac = checker(Vector*Scale);
        if(Fac == 1.0) {
-               Color = color(Color1, Color1, Color1);
+               Color = Color1;
        }
        else {
-               Color = color(Color2, Color2, Color2);
+               Color = Color2;
        }
 }