summaryrefslogtreecommitdiff
path: root/materialsystem/stdshaders/lightmappedgeneric_basetextureblend.psh
diff options
context:
space:
mode:
Diffstat (limited to 'materialsystem/stdshaders/lightmappedgeneric_basetextureblend.psh')
-rw-r--r--materialsystem/stdshaders/lightmappedgeneric_basetextureblend.psh9
1 files changed, 9 insertions, 0 deletions
diff --git a/materialsystem/stdshaders/lightmappedgeneric_basetextureblend.psh b/materialsystem/stdshaders/lightmappedgeneric_basetextureblend.psh
new file mode 100644
index 0000000..9ca0eeb
--- /dev/null
+++ b/materialsystem/stdshaders/lightmappedgeneric_basetextureblend.psh
@@ -0,0 +1,9 @@
+ps.1.1
+
+tex t0 ; base 1
+tex t1 ; base 2
+
+mov r1, t1
+lrp r0, 1-v0.a, t0, r1
+mul r0, r0, c0
+