Fixed remaining syntax errors in OSL files. node_sepcomb_rgb.osl is split into 2...
[blender.git] / intern / cycles / kernel / osl / nodes / node_separate_rgb.osl
similarity index 82%
rename from intern/cycles/kernel/osl/nodes/node_sepcomb_rgb.osl
rename to intern/cycles/kernel/osl/nodes/node_separate_rgb.osl
index a02f31f4b076eec1a18fee26fbb4f6dd21327f5c..b48bd7e59d6f86d4c755a4cddd1c24e974108efd 100644 (file)
@@ -24,17 +24,7 @@ shader node_separate_rgb(
        output float G = 0.0,
        output float B = 0.0)
 {
-               R = Image[0];
-               G = Image[1];
-               B = Image[2];
+       R = Image[0];
+       G = Image[1];
+       B = Image[2];
 }
-
-shader node_combine_rgb(
-       float R = 0.0,
-       float G = 0.0,
-       float B = 0.0,
-       output color Image = color(0.8, 0.8, 0.8)
-{
-       Image = color(R, G, B)
-}
-