]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/map_leave_em_behind.shader
Added deformVertexes wave function to slime coming out from pipes, so they look...
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_leave_em_behind.shader
index 5e24f7565eaf16ad86177d5ce89b66bda4932cb4..6f8d06417dc62ab32e24d82c3d5bd057a2977f92 100644 (file)
@@ -1,4 +1,4 @@
-textures/map_leave_em_behind/biolumi2_yellow
+textures/map_leave_em_behind/biolumi2_yellow_wave
 {
        q3map_lightimage textures/map_leave_em_behind/biolumi2_yellow.tga
        qer_editorimage textures/map_leave_em_behind/biolumi2_yellow.tga
@@ -6,6 +6,7 @@ textures/map_leave_em_behind/biolumi2_yellow
        surfaceparm nolightmap
        surfaceparm trans
        surfaceparm nomarks
+       deformVertexes wave 10 sin 1 2 0.25 0.1
        cull disable
        qer_trans 0.5
        q3map_lightsubdivide 16
@@ -15,7 +16,7 @@ textures/map_leave_em_behind/biolumi2_yellow
                map textures/map_leave_em_behind/biolumi2_yellow.tga
        }
 }
-textures/map_leave_em_behind/biolumi2_green
+textures/map_leave_em_behind/biolumi2_green_wave
 {
        q3map_lightimage textures/map_leave_em_behind/biolumi2_green.tga
        qer_editorimage textures/map_leave_em_behind/biolumi2_green.tga
@@ -23,6 +24,7 @@ textures/map_leave_em_behind/biolumi2_green
        surfaceparm nolightmap
        surfaceparm trans
        surfaceparm nomarks
+       deformVertexes wave 10 sin 1 2 0.25 0.1
        cull disable
        qer_trans 0.5
        q3map_lightsubdivide 16
@@ -34,3 +36,22 @@ textures/map_leave_em_behind/biolumi2_green
 
 }
 
+textures/map_leave_em_behind/biolumi2_green
+{
+       q3map_lightimage textures/map_leave_em_behind/biolumi2_green.tga
+       qer_editorimage textures/map_leave_em_behind/biolumi2_green.tga
+       q3map_lightmapFilterRadius 0 4
+       surfaceparm nolightmap
+       surfaceparm trans
+       surfaceparm nomarks
+//     deformVertexes wave 50 sin 2 5 0.25 0.1
+       cull disable
+       qer_trans 0.5
+       q3map_lightsubdivide 16
+       q3map_surfacelight 2500
+       {
+         tcMod scroll 0 0.05
+         map textures/map_leave_em_behind/biolumi2_green.tga
+       }
+
+}