From da14caea070a3dc4c83fcf205d7e52de7bb5cdb1 Mon Sep 17 00:00:00 2001 From: savagex Date: Sun, 11 Jun 2006 19:13:19 +0000 Subject: [PATCH] use some proper glass shader for glass tubes git-svn-id: svn://svn.icculus.org/nexuiz/trunk/data@1563 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- scripts/sav-liquids.shader | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/scripts/sav-liquids.shader b/scripts/sav-liquids.shader index 08799a0e5..518139fe2 100644 --- a/scripts/sav-liquids.shader +++ b/scripts/sav-liquids.shader @@ -20,15 +20,17 @@ textures/sav-liquids/slime1 } } -textures/sav-liquids/glass_tube -{ - qer_editorimage textures/evil_basewall/mtl_gray.jpg - qer_trans 0.5 - cull none - surfaceparm trans - { - map textures/evil_basewall/mtl_gray.jpg - blendFunc add - rgbGen identity - } -} \ No newline at end of file + +textures/sav-liquids/glass_tube +{ + qer_editorimage textures/dsi/dsiglass2.tga + surfaceparm trans + cull disable + qer_trans 0.5 + + { + map textures/dsi/dsiglass2.tga + blendfunc blend + rgbGen vertex + } +} -- 2.39.2