]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
shaders: also make slime and water liquid shaders display transparent in the editor. matthiaskrgr/shader_stuff
authorMatthias Krüger <matthias.krueger@famsik.de>
Tue, 6 Aug 2013 21:49:44 +0000 (23:49 +0200)
committerMatthias Krüger <matthias.krueger@famsik.de>
Tue, 6 Aug 2013 21:49:44 +0000 (23:49 +0200)
scripts/liquids_slime.shader
scripts/liquids_water.shader

index 29fdd70f4dfc9b3e87b31b08d2ff6f0f48a4d7a2..3b7db7b9d63bf67e8d9a94ef8a6f0d39dca4b10a 100644 (file)
@@ -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
index 9ec1cf604b87d48f136b8d60c192d7c09c3a5490..5b176e37028339c903f1a9d2d1d28117423e480c 100644 (file)
@@ -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