]> 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 961244ea482d7c299a1cbe5e401cd7c66bd983a2..8e6903e6b2ab58d180fc1414f7d9323c8d7fb8a9 100644 (file)
@@ -420,7 +420,7 @@ textures/exx/floor-grate01
 
        {
                map textures/exx/floor/floor_grate01.tga
-            alphaFunc GT0
+            alphaFunc GE128
        }
        {
                map $lightmap
@@ -444,7 +444,7 @@ textures/exx/floor-grate01-cull
 
        {
                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
@@ -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
        }
        {