summaryrefslogtreecommitdiff
path: root/materialsystem/stdshaders/vertexlit_notexture.psh
diff options
context:
space:
mode:
Diffstat (limited to 'materialsystem/stdshaders/vertexlit_notexture.psh')
-rw-r--r--materialsystem/stdshaders/vertexlit_notexture.psh13
1 files changed, 13 insertions, 0 deletions
diff --git a/materialsystem/stdshaders/vertexlit_notexture.psh b/materialsystem/stdshaders/vertexlit_notexture.psh
new file mode 100644
index 0000000..5241abd
--- /dev/null
+++ b/materialsystem/stdshaders/vertexlit_notexture.psh
@@ -0,0 +1,13 @@
+ps.1.1
+
+;------------------------------------------------------------------------------
+; Draw a texture . . woo hoo!
+; t0 - texture
+;
+; The texture coordinates need to be defined as follows:
+; tc0 - texcoords
+;------------------------------------------------------------------------------
+
+mov r0, v0
+mul_x2 r0.rgb, c0, r0 ; * 2 * (overbrightFactor/2)
+