From b5b5d710a0b62343cf5bcfd33b10081b64ecb8ee Mon Sep 17 00:00:00 2001 From: savagex Date: Thu, 24 May 2007 10:30:29 +0000 Subject: [PATCH] tcgen environment for some glass textures (can be seen on e.g. warfare) git-svn-id: svn://svn.icculus.org/nexuiz/trunk@2684 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/scripts/dsi.shader | 3 ++- data/scripts/sav-liquids.shader | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/scripts/dsi.shader b/data/scripts/dsi.shader index c79bbe64e..e4bdb13c1 100644 --- a/data/scripts/dsi.shader +++ b/data/scripts/dsi.shader @@ -67,7 +67,8 @@ textures/dsi/dsiglass { map textures/dsi/dsiglass2.tga blendfunc blend - rgbGen vertex + rgbGen vertex + tcgen environment } } diff --git a/data/scripts/sav-liquids.shader b/data/scripts/sav-liquids.shader index 518139fe2..4a909b66e 100644 --- a/data/scripts/sav-liquids.shader +++ b/data/scripts/sav-liquids.shader @@ -10,7 +10,7 @@ textures/sav-liquids/slime1 surfaceparm nonsolid surfaceparm slime q3map_surfacelight 250 - deformVertexes wave 150.0 sin 2 5 0.25 0.1 + //deformVertexes wave 150.0 sin 2 5 0.25 0.1 Q3map_TessSize 128 cull none { @@ -31,6 +31,7 @@ textures/sav-liquids/glass_tube { map textures/dsi/dsiglass2.tga blendfunc blend - rgbGen vertex + rgbGen vertex + tcgen environment } } -- 2.39.2