summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/analmango.shader25
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/analmango.shader b/scripts/analmango.shader
index a0d36b6..8e93a6a 100644
--- a/scripts/analmango.shader
+++ b/scripts/analmango.shader
@@ -167,3 +167,28 @@ textures/analmango/redlight_2K5_nonsolid
blendfunc add
}
}
+
+//Figure this shit out - Needs a nice texture I think
+//Works perfectly fine, but couldn't get to tweak it properly myself
+//Texture needs alpha channel & 90-100%-ish transparency
+
+textures/analmango/mirrorfloor
+{
+ qer_editorimage textures/analmango/reflec_floor1.tga
+ surfaceparm nolightmap
+ portal
+ {
+ map textures/common/mirror1.tga
+ blendfunc gl_one gl_one_minus_src_alpha
+ depthWrite
+ }
+ {
+ map textures/analmango/reflec_floor1.tga
+ blendfunc filter
+ }
+ {
+ map textures/analmango/reflec_floor1.tga
+ blendfunc add
+ rgbGen const ( 0.6 0.6 0.64 )
+ }
+}