summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-01-01 22:05:54 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-01-01 22:05:54 +0100
commit8daa9406cd94e304b404f66fe7c15ede06594fb6 (patch)
treeffc1ae9a60b281c60f8cb0fcc1f08e1241b5950e /scripts
parentda1bcaf069b6e89bdcb052c63faae5fed9fa1ffb (diff)
Add the CD mechanic to p7.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/analmango.shader36
1 files changed, 36 insertions, 0 deletions
diff --git a/scripts/analmango.shader b/scripts/analmango.shader
index b5edca4..95b5629 100644
--- a/scripts/analmango.shader
+++ b/scripts/analmango.shader
@@ -369,3 +369,39 @@ textures/analmango/dretchpwner_wait
blendFunc add
}
}
+
+textures/analmango/wtf_5_cd
+{
+ surfaceparm trans
+ cull none
+
+ {
+ map textures/analmango/wtf_5_cd.tga
+ alphaFunc GE128
+ depthWrite
+ }
+ {
+ map $lightmap
+ blendFunc filter
+ depthFunc equal
+ }
+}
+
+textures/analmango/wtf_5_cd_nonsolid
+{
+ qer_editorimage textures/analmango/wtf_5_cd.tga
+ surfaceparm trans
+ surfaceparm nonsolid
+ cull none
+
+ {
+ map textures/analmango/wtf_5_cd.tga
+ alphaFunc GE128
+ depthWrite
+ }
+ {
+ map $lightmap
+ blendFunc filter
+ depthFunc equal
+ }
+}