summaryrefslogtreecommitdiff
path: root/progs/vp/add-param-imm.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/vp/add-param-imm.txt')
-rw-r--r--progs/vp/add-param-imm.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/vp/add-param-imm.txt b/progs/vp/add-param-imm.txt
new file mode 100644
index 0000000000..90bcf96528
--- /dev/null
+++ b/progs/vp/add-param-imm.txt
@@ -0,0 +1,7 @@
+!!ARBvp1.0
+TEMP R0;
+PARAM Emission = state.material.emission;
+ADD R0, vertex.color, {-0.5}.x;
+ADD result.color, R0, Emission.w;
+MOV result.position, vertex.position;
+END