From a147003cb0e3c5a2fc8393602c2eb915e30fa318 Mon Sep 17 00:00:00 2001 From: div0 Date: Sat, 1 Aug 2009 20:35:57 +0000 Subject: [PATCH] for solid portals: shader change git-svn-id: svn://svn.icculus.org/nexuiz/trunk@7289 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/scripts/portals.shader | 44 +++++++++++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/data/scripts/portals.shader b/data/scripts/portals.shader index 69907f456..9473c3ae0 100644 --- a/data/scripts/portals.shader +++ b/data/scripts/portals.shader @@ -2,7 +2,7 @@ portals_red_vortex { cull none deformVertexes wave 100 sin 1.5 0.6 0 1.5 - { + { map textures/portals/portals_red_vortex.tga tcMod rotate 10 blendfunc blend @@ -13,10 +13,10 @@ portals_blue_vortex { cull none deformVertexes wave 100 sin 1.5 0.6 0 1.5 - { + { map textures/portals/portals_blue_vortex.tga tcMod rotate 10 - blendfunc blend + blendfunc blend } } @@ -24,9 +24,45 @@ portals_inactive_vortex { cull none deformVertexes wave 100 sin 1.5 0.6 0 1.5 - { + { map textures/portals/portals_inactive_vortex.tga tcMod rotate 10 blendfunc blend } } + +textures/portals/portals_red +{ + surfaceparm nonsolid + { + map textures/portals/portals_red.tga + } + { + map $lightmap + blendfunc filter + } +} + +textures/portals/portals_blue +{ + surfaceparm nonsolid + { + map textures/portals/portals_blue.tga + } + { + map $lightmap + blendfunc filter + } +} + +textures/portals/portals_inactive +{ + surfaceparm nonsolid + { + map textures/portals/portals_inactive.tga + } + { + map $lightmap + blendfunc filter + } +} -- 2.39.2