]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/map_warfare.shader
Push v5
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_warfare.shader
index 254bb77d2549554fc8d4d5cf9e10a36227824c40..492d3d23e4175147c12b066db06481b230dcd55f 100644 (file)
@@ -3,12 +3,14 @@ textures/map_warfare/rocktosoil
        qer_editorimage textures/map_warfare/rocktosoil
        
        dpoffsetmapping - 2 match8 168
+       dpglossintensitymod 2
+       dpglossexponentmod 4
        
-       q3map_bouncescale  0.75
+       q3map_bouncescale 0.75
        q3map_lightmapsampleoffset 8
        q3map_nonplanar
        q3map_shadeangle 90
-    q3map_alphamod dotproduct2 ( 0 0 1 )
+       q3map_alphamod dotproduct2 ( 0 0 1 )
        {
                map textures/phillipk2x/natural/pk02_rock01
        }
@@ -44,13 +46,14 @@ textures/map_warfare/floor_panel
        qer_alphafunc qequal 0.5
     
     dpoffsetmapping - 2 match8 172
-       dpglossintensitymod  3
-       dpglossexponentmod  4
+       dpglossintensitymod 3
+       dpglossexponentmod 4
        
        surfaceparm metalsteps
        surfaceparm trans
+       surfaceparm nonsolid
        
-       q3map_bouncescale  0.75
+       q3map_bouncescale 0.75
 
     polygonoffset
        {
@@ -80,3 +83,26 @@ textures/map_warfare/sky
        skyparms env/exosystem/exosystem - -
 }
 
+textures/map_warfare/cactus
+{
+       qer_editorimage textures/map_warfare/cactus
+       qer_alphafunc qequal 0.5
+    
+    dpoffsetmapping - 2 match8 68
+       dpglossintensitymod 2
+       dpglossexponentmod 4
+       
+       surfaceparm trans
+       surfaceparm nonsolid
+       
+       cull none
+       {
+               map textures/map_warfare/cactus
+               alphaFunc GT0
+       }
+       {
+               map $lightmap
+               blendfunc filter
+       }
+}
+