]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/exx.shader
DarkPlaces does not support alphaFunc GT0 and uses GE128 instead
[xonotic/xonotic-maps.pk3dir.git] / scripts / exx.shader
index 6921c2ddc598375712be936502dac721d7c4640f..8e6903e6b2ab58d180fc1414f7d9323c8d7fb8a9 100644 (file)
@@ -413,14 +413,14 @@ textures/exx/floor-grate01
        surfaceparm alphashadow
        surfaceparm nomarks
        Cull None
-       dpoffsetmapping - 2 match8 200
+       dpoffsetmapping - 2 match8 126
        dpglossintensitymod  3
        dpglossexponentmod  4
 
 
        {
                map textures/exx/floor/floor_grate01.tga
-            alphaFunc GT0
+            alphaFunc GE128
        }
        {
                map $lightmap
@@ -437,14 +437,14 @@ textures/exx/floor-grate01-cull
        q3map_bounceScale  0.75
        surfaceparm alphashadow
        surfaceparm nomarks
-       dpoffsetmapping - 2 match8 200
+       dpoffsetmapping - 2 match8 126
        dpglossintensitymod  3
        dpglossexponentmod  4
 
 
        {
                map textures/exx/floor/floor_grate01.tga
-            alphaFunc GT0
+            alphaFunc GE128
        }
        {
                map $lightmap
@@ -469,7 +469,7 @@ textures/exx/floor-grate02
 
        {
                map textures/exx/floor/floor_grate02.tga
-            alphaFunc GT0
+            alphaFunc GE128
        }
        {
                map $lightmap
@@ -493,7 +493,7 @@ textures/exx/floor-grate02-cull
 
        {
                map textures/exx/floor/floor_grate02.tga
-            alphaFunc GT0
+            alphaFunc GE128
        }
        {
                map $lightmap
@@ -518,7 +518,7 @@ textures/exx/floor-grate03
 
        {
                map textures/exx/floor/floor_grate03.tga
-            alphaFunc GT0
+            alphaFunc GE128
        }
        {
                map $lightmap
@@ -542,7 +542,7 @@ textures/exx/floor-grate03-cull
 
        {
                map textures/exx/floor/floor_grate03.tga
-            alphaFunc GT0
+            alphaFunc GE128
        }
        {
                map $lightmap
@@ -567,7 +567,7 @@ textures/exx/floor-grate04
 
        {
                map textures/exx/floor/floor_grate04.tga
-            alphaFunc GT0
+            alphaFunc GE128
        }
        {
                map $lightmap
@@ -592,7 +592,7 @@ textures/exx/floor-grate04-cull
 
        {
                map textures/exx/floor/floor_grate04.tga
-            alphaFunc GT0
+            alphaFunc GE128
        }
        {
                map $lightmap
@@ -631,7 +631,7 @@ textures/exx/floor-panel01
        qer_editorimage textures/exx/floor/floor_panel01.tga
        surfaceparm metalsteps
        q3map_bounceScale  0.75
-       dpoffsetmapping - 2 match8 131
+       dpoffsetmapping - 2 match8 172
        dpglossintensitymod  3
        dpglossexponentmod  4
 
@@ -700,7 +700,7 @@ textures/exx/floor-simple05
        surfaceparm metalsteps
        
        q3map_bounceScale  0.75
-       dpoffsetmapping - 2 32
+       dpoffsetmapping - 4 match8 32
        dpglossintensitymod  3
        dpglossexponentmod  4
 
@@ -722,7 +722,7 @@ textures/exx/floor-simplines
        qer_editorimage textures/exx/floor/floor_simplines.tga
        
        q3map_bounceScale  0.75
-       dpoffsetmapping - 2 match8 152
+       dpoffsetmapping - 1 match8 244
        dpglossintensitymod  3
        dpglossexponentmod  4
 
@@ -768,7 +768,7 @@ textures/exx/floor-tread01
        surfaceparm metalsteps
        
        q3map_bounceScale  0.75
-       dpoffsetmapping - 2 match8 77
+       dpoffsetmapping - 1 match8 221
        dpglossintensitymod  3
        dpglossexponentmod  4
 
@@ -922,6 +922,31 @@ textures/exx/light-panel01-surfacelight
                blendfunc filter
        }
 }
+textures/exx/light-panel01-surfacelight_sRGB
+{
+       qer_editorimage textures/exx/light/light_panel01.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 2 match8 79
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 64
+
+       {
+               map textures/exx/light/light_panel01.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+
 textures/exx/light-u201
 {
        qer_editorimage textures/exx/light/light_u201.tga
@@ -959,6 +984,30 @@ textures/exx/light-u201-surfacelight
                map textures/exx/light/light_u201.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/exx/light-u201-surfacelight_sRGB
+{
+       qer_editorimage textures/exx/light/light_u201.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 2 match8 76
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 64
+
+       {
+               map textures/exx/light/light_u201.tga
+               
+
        }
        {
                map $lightmap
@@ -986,7 +1035,7 @@ textures/exx/panel-grate01
        nomipmaps
        {
                map textures/exx/panel/panel_grate01.tga
-               alphaFunc GT0
+               alphaFunc GE128
                rgbgen vertex
        }
        {
@@ -1014,7 +1063,7 @@ textures/exx/panel-grate01-cull
        nomipmaps
        {
                map textures/exx/panel/panel_grate01.tga
-               alphaFunc GT0
+               alphaFunc GE128
                rgbgen vertex
        }
        {
@@ -1466,7 +1515,7 @@ textures/exx/trim-metalsupp01
        
        surfaceparm metalsteps
        q3map_bounceScale  2
-       dpoffsetmapping - 2 match8 243
+       dpoffsetmapping - 8 match8 243
        dpglossintensitymod  3
        dpglossexponentmod  4
 
@@ -1697,7 +1746,7 @@ textures/exx/wall-bplate06
        
        surfaceparm metalsteps
        q3map_bounceScale  1.75
-       dpoffsetmapping - 2 match8 114
+       dpoffsetmapping - 8 match8 114
        dpglossintensitymod  3
        dpglossexponentmod  4
 
@@ -1863,6 +1912,29 @@ textures/exx/wall-metal01b
                map textures/exx/wall/wall_metal01b.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/exx/wall-metal01c
+{
+       qer_editorimage textures/exx/wall/wall_metal01c.tga
+       
+       surfaceparm metalsteps
+       q3map_bounceScale  2
+       dpoffsetmapping - 2 match8 225
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+
+       {
+               map textures/exx/wall/wall_metal01c.tga
+               
+
        }
        {
                map $lightmap
@@ -1900,7 +1972,7 @@ textures/exx/wall-metalb01
        
        surfaceparm metalsteps
        q3map_bounceScale  2
-       dpoffsetmapping - 2 match8 37
+       dpoffsetmapping - 1 match8 37
        dpglossintensitymod  3
        dpglossexponentmod  4