]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/map_warfare.shader
Add a note about the "speed" key in the target_speed entity when its value is 0
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_warfare.shader
index fe976b740e7aea4eee6d5f4952413f73585e2321..4a546c2817e9acd153cae2e4c409cca44e8f5e9e 100644 (file)
@@ -1,11 +1,11 @@
 textures/map_warfare/rocktosoil
 {
     qer_editorimage textures/map_warfare/rocktosoil
-    
+
     dpoffsetmapping - 2 match8 168
-    dpglossintensitymod 2
+    dpglossintensitymod 1.5
     dpglossexponentmod 4
-    
+
     q3map_lightmapsampleoffset 8
     q3map_nonplanar
     q3map_shadeangle 90
@@ -20,6 +20,8 @@ textures/map_warfare/rocktosoil
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -28,10 +30,8 @@ textures/map_warfare/env
 {
     qer_editorimage textures/map_warfare/env
     qer_trans 0.5
-    surfaceparm trans
 
-    cull none
+    surfaceparm trans
     {
         map textures/map_warfare/env
         blendfunc add
@@ -45,22 +45,24 @@ textures/map_warfare/floor_panel
     qer_alphafunc qequal 0.5
 
     dpoffsetmapping - 2 match8 172
-    dpglossintensitymod 3
+    dpglossintensitymod 1.5
     dpglossexponentmod 4
 
     surfaceparm metalsteps
     surfaceparm trans
     surfaceparm nonsolid
+
     q3map_bouncescale 0.75
 
     polygonoffset
     {
         map textures/map_warfare/floor_panel
-        alphafunc GT0
+        alphaFunc GE128
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -68,7 +70,7 @@ textures/map_warfare/floor_panel
 textures/map_warfare/sky
 {
     qer_editorimage textures/skies/exosystem
-    
+
     surfaceparm noimpact
     surfaceparm nolightmap
     surfaceparm nodlight
@@ -86,22 +88,24 @@ textures/map_warfare/cactus
 {
     qer_editorimage textures/map_warfare/cactus
     qer_alphafunc qequal 0.5
-    
+
     dpoffsetmapping - 2 match8 68
-    dpglossintensitymod 2
+    dpglossintensitymod 1.5
     dpglossexponentmod 4
-    
+
     surfaceparm trans
     surfaceparm alphashadow
     surfaceparm nonsolid
-    
+
     cull none
     {
         map textures/map_warfare/cactus
-        alphafunc GT0
+        alphaFunc GE128
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }