summaryrefslogtreecommitdiff
path: root/scripts/analmango.shader
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2016-12-26 12:40:58 +0100
committerPaweł Redman <pawel.redman@gmail.com>2016-12-26 12:40:58 +0100
commita16fbf164db7e00dbfba49811a76afd86fed7a59 (patch)
tree702740bf4221405b087c1e9e9055d727b1988494 /scripts/analmango.shader
parenta754d2881454a8f7a84f1b6bf20aa2bdb4a95562 (diff)
parent5a112f1d5970a52bdb8d3c93199176903a5523f5 (diff)
Merge branch 'maejong' of ssh://redman.xyz:/var/git/analmango
Diffstat (limited to 'scripts/analmango.shader')
-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 )
+ }
+}
+