summaryrefslogtreecommitdiff
path: root/materialsystem/stdshaders/VertexLitGeneric_NoTexture.psh
diff options
context:
space:
mode:
Diffstat (limited to 'materialsystem/stdshaders/VertexLitGeneric_NoTexture.psh')
-rw-r--r--materialsystem/stdshaders/VertexLitGeneric_NoTexture.psh9
1 files changed, 9 insertions, 0 deletions
diff --git a/materialsystem/stdshaders/VertexLitGeneric_NoTexture.psh b/materialsystem/stdshaders/VertexLitGeneric_NoTexture.psh
new file mode 100644
index 0000000..0bc2e45
--- /dev/null
+++ b/materialsystem/stdshaders/VertexLitGeneric_NoTexture.psh
@@ -0,0 +1,9 @@
+; DYNAMIC: "WRITEONETODESTALPHA" "0..1"
+ps.1.1
+
+mul r0, v0, c3
+mul_x2 r0.rgb, c0, r0 ; * 2 * (overbrightFactor/2)
+
+#if WRITEONETODESTALPHA
++mov r0.a, c4 ; make alpha 255
+#endif