summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaeJong <mewiceclair@gmail.com>2016-12-26 09:09:55 +0100
committerMaeJong <mewiceclair@gmail.com>2016-12-26 09:09:55 +0100
commit5a112f1d5970a52bdb8d3c93199176903a5523f5 (patch)
tree732ad83120a9898f737c578aa8f83f34c3416e7c
parentf7b5d4df7097779b71c9ffeafd6503c7ee8559eb (diff)
Added reflective texture shader w/o texture - Instructions in .shader
-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 )
+ }
+}