summaryrefslogtreecommitdiff
path: root/progs/fp/position.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/fp/position.txt')
-rw-r--r--progs/fp/position.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/fp/position.txt b/progs/fp/position.txt
new file mode 100644
index 0000000000..1875897d78
--- /dev/null
+++ b/progs/fp/position.txt
@@ -0,0 +1,4 @@
+!!ARBfp1.0
+MOV result.color, {0}.x;
+MUL result.color.xy, fragment.position, {.005}.x;
+END