From: Matthias Krüger Date: Tue, 6 Aug 2013 21:49:44 +0000 (+0200) Subject: shaders: also make slime and water liquid shaders display transparent in the editor. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmatthiaskrgr%2Fshader_stuff;p=xonotic%2Fxonotic-maps.pk3dir.git shaders: also make slime and water liquid shaders display transparent in the editor. --- diff --git a/scripts/liquids_slime.shader b/scripts/liquids_slime.shader index 29fdd70f..3b7db7b9 100644 --- a/scripts/liquids_slime.shader +++ b/scripts/liquids_slime.shader @@ -1,7 +1,7 @@ textures/liquids_slime/slime0 { qer_editorimage textures/liquids_slime/slime0.tga - qer_trans 20 + qer_trans 0.5 surfaceparm nomarks surfaceparm trans surfaceparm slime @@ -20,7 +20,7 @@ textures/liquids_slime/slime0 textures/liquids_slime/slime1 { qer_editorimage textures/liquids_slime/slime1.tga - qer_trans 20 + qer_trans 0.5 surfaceparm nomarks surfaceparm trans surfaceparm slime @@ -40,7 +40,7 @@ textures/liquids_slime/gelslime-purple { qer_editorimage textures/liquids_slime/gelslime-purple.tga q3map_lightimage textures/liquids_slime/gelslime-purple.tga - qer_trans 20 + qer_trans 0.5 dpoffsetmapping - 1 match8 107 surfaceparm noimpact surfaceparm trans @@ -70,7 +70,7 @@ textures/liquids_slime/gelslime-purple_cubemap { qer_editorimage textures/liquids_slime/gelslime-purple.tga q3map_lightimage textures/liquids_slime/gelslime-purple.tga - qer_trans 20 + qer_trans 0.5 dpoffsetmapping - 1 match8 107 surfaceparm noimpact surfaceparm trans diff --git a/scripts/liquids_water.shader b/scripts/liquids_water.shader index 9ec1cf60..5b176e37 100644 --- a/scripts/liquids_water.shader +++ b/scripts/liquids_water.shader @@ -3,7 +3,7 @@ textures/liquids_water/water0 { qer_editorimage textures/liquids_water/water0.tga - qer_trans 20 + qer_trans 0.5 surfaceparm nomarks surfaceparm trans surfaceparm water @@ -21,7 +21,7 @@ textures/liquids_water/water0 textures/liquids_water/water0_cubemap { - qer_trans 20 + qer_trans 0.5 surfaceparm nomarks surfaceparm trans surfaceparm water @@ -46,7 +46,7 @@ textures/liquids_water/water0_cubemap textures/liquids_water/water0_cubemap_alphamod { - qer_trans 20 + qer_trans 0.5 surfaceparm nomarks surfaceparm trans surfaceparm water @@ -73,7 +73,7 @@ textures/liquids_water/water0_cubemap_alphamod textures/liquids_water/water1 { qer_editorimage textures/liquids_water/water1.tga - qer_trans 20 + qer_trans 0.5 surfaceparm nomarks surfaceparm trans surfaceparm water @@ -92,7 +92,7 @@ textures/liquids_water/water1 textures/liquids_water/water2 { qer_editorimage textures/liquids_water/water2.tga - qer_trans 20 + qer_trans 0.5 surfaceparm nomarks surfaceparm trans surfaceparm water