From 5a112f1d5970a52bdb8d3c93199176903a5523f5 Mon Sep 17 00:00:00 2001 From: MaeJong Date: Mon, 26 Dec 2016 09:09:55 +0100 Subject: Added reflective texture shader w/o texture - Instructions in .shader --- scripts/analmango.shader | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'scripts') 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 ) + } +} -- cgit