summaryrefslogtreecommitdiff
path: root/shaders/0ad/3.shader_test
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/0ad/3.shader_test')
-rw-r--r--shaders/0ad/3.shader_test17
1 files changed, 17 insertions, 0 deletions
diff --git a/shaders/0ad/3.shader_test b/shaders/0ad/3.shader_test
new file mode 100644
index 0000000..30ba541
--- /dev/null
+++ b/shaders/0ad/3.shader_test
@@ -0,0 +1,17 @@
+[require]
+GLSL >= 1.10
+
+[fragment shader]
+uniform vec4 color;
+void main()
+{
+ gl_FragColor = color;
+}
+
+[vertex shader]
+attribute vec4 position;
+void main()
+{
+ gl_Position = position;
+}
+