GLSL Shaders -> Files (instead of #define)
[ipdf/code.git] / src / shaders / rect_frag.glsl
diff --git a/src/shaders/rect_frag.glsl b/src/shaders/rect_frag.glsl
new file mode 100644 (file)
index 0000000..649805f
--- /dev/null
@@ -0,0 +1,10 @@
+#version 140
+
+out vec4 output_colour;
+
+uniform vec4 colour;
+
+void main()
+{
+       output_colour = colour;
+}

UCC git Repository :: git.ucc.asn.au