summaryrefslogtreecommitdiff
path: root/progs/fp/tex-pos.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/fp/tex-pos.txt')
-rw-r--r--progs/fp/tex-pos.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/fp/tex-pos.txt b/progs/fp/tex-pos.txt
new file mode 100644
index 0000000000..b969f423f5
--- /dev/null
+++ b/progs/fp/tex-pos.txt
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP R0;
+MOV R0, {0.0}.x;
+MUL R0.xy, fragment.position, {0.008}.x;
+TEX result.color, R0, texture[0], 2D;
+END