From: Rudolf Polzer Date: Thu, 15 Dec 2011 19:40:05 +0000 (+0100) Subject: add water0_cubemap_alphamod (alpha-moddable version, untesselated) X-Git-Tag: xonotic-v0.6.0~50 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=51569b558263e6bca04c54f4d6b34ade777d788e;p=xonotic%2Fxonotic-maps.pk3dir.git add water0_cubemap_alphamod (alpha-moddable version, untesselated) --- diff --git a/scripts/liquids_water.shader b/scripts/liquids_water.shader index baf700f0..5fb16f1f 100644 --- a/scripts/liquids_water.shader +++ b/scripts/liquids_water.shader @@ -44,6 +44,32 @@ textures/liquids_water/water0_cubemap dp_water 0.1 0.9 3 3 1 1 1 1 1 1 0.4 } +textures/liquids_water/water0_cubemap_alphamod +{ + qer_trans 20 + surfaceparm nomarks + surfaceparm trans + surfaceparm water + surfaceparm nolightmap + cull none + q3map_globaltexture + //tessSize 256 + qer_editorimage textures/liquids_water/water0c_reflect.tga + { + map textures/liquids_water/water0c.tga + tcMod turb 0 0.4 0 0.08 + blendfunc GL_SRC_ALPHA GL_ONE + alphaGen vertex + } + dpreflectcube cubemaps/default/sky + { + map $lightmap + blendfunc add + tcGen lightmap + } + dp_water 0.1 0.9 3 3 1 1 1 1 1 1 0.4 +} + textures/liquids_water/water1 { qer_editorimage textures/liquids_water/water1.tga