exx fixes, tryign again.
[xonotic/xonotic-maps.pk3dir.git] / scripts / exx.shader
index 977566c2dbda2508ed73de4e1e297557e70437b9..1a7b3259570ae5783addcf9073e363cba8f2c570 100644 (file)
@@ -376,7 +376,7 @@ textures/exx/floor-grate01
 \r
        {\r
                map textures/exx/floor/floor_grate01.tga\r
-               blendFunc blend\r
+            alphaFunc GT0\r
        }\r
        {\r
                map $lightmap\r
@@ -401,7 +401,7 @@ textures/exx/floor-grate02
 \r
        {\r
                map textures/exx/floor/floor_grate02.tga\r
-               blendFunc blend\r
+            alphaFunc GT0\r
        }\r
        {\r
                map $lightmap\r
@@ -426,7 +426,7 @@ textures/exx/floor-grate03
 \r
        {\r
                map textures/exx/floor/floor_grate03.tga\r
-               blendFunc blend\r
+            alphaFunc GT0\r
        }\r
        {\r
                map $lightmap\r
@@ -451,7 +451,7 @@ textures/exx/floor-grate04
 \r
        {\r
                map textures/exx/floor/floor_grate04.tga\r
-               blendFunc blend\r
+            alphaFunc GT0\r
        }\r
        {\r
                map $lightmap\r
@@ -1306,6 +1306,30 @@ textures/exx/trim-vert01
                blendfunc filter\r
        }\r
 }\r
+textures/exx/trim-horz01\r
+{\r
+       qer_editorimage textures/exx/trim/trim_horz01.tga\r
+       \r
+       surfaceparm metalsteps\r
+       q3map_bounceScale  1.5\r
+       dpoffsetmapping - 2\r
+       dpglossintensitymod  4\r
+       dpglossexponentmod  2\r
+\r
+\r
+       {\r
+               map textures/exx/trim/trim_horz01.tga\r
+               \r
+\r
+       }\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+               tcGen lightmap\r
+               blendfunc filter\r
+       }\r
+}\r
+\r
 textures/exx/wall-bigrib02\r
 {\r
        qer_editorimage textures/exx/wall/wall_bigrib02.tga\r