summaryrefslogtreecommitdiffstats
path: root/progs/fpglsl/tex.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'progs/fpglsl/tex.glsl')
-rw-r--r--progs/fpglsl/tex.glsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/fpglsl/tex.glsl b/progs/fpglsl/tex.glsl
new file mode 100644
index 00000000000..4302fabe2d5
--- /dev/null
+++ b/progs/fpglsl/tex.glsl
@@ -0,0 +1,6 @@
+uniform sampler2D tex1;
+
+void main()
+{
+ gl_FragColor = texture2D(tex1, gl_Color.xy);
+}