summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/analmango.shader27
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/analmango.shader b/scripts/analmango.shader
index db05fb4..e5082d2 100644
--- a/scripts/analmango.shader
+++ b/scripts/analmango.shader
@@ -189,3 +189,30 @@ textures/analmango/euclid
map textures/analmango/euclid.jpg
}
}
+
+
+//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 )
+ }
+}
+