From 8daa9406cd94e304b404f66fe7c15ede06594fb6 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 1 Jan 2017 22:05:54 +0100 Subject: Add the CD mechanic to p7. --- scripts/analmango.shader | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'scripts') 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 + } +} -- cgit