have *-cull variants for all grates with default culling behavior
[xonotic/xonotic-maps.pk3dir.git] / scripts / exx.shader
index 0888691..50d555b 100644 (file)
@@ -478,6 +478,30 @@ textures/exx/floor-grate02
                blendfunc filter
        }
 }
+textures/exx/floor-grate02-cull
+{
+       qer_editorimage textures/exx/floor/floor_grate02.tga
+       surfaceparm trans
+       surfaceparm metalsteps
+       q3map_bounceScale  0.75
+       surfaceparm alphashadow
+       surfaceparm nomarks
+       dpoffsetmapping - 2
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+
+       {
+               map textures/exx/floor/floor_grate02.tga
+            alphaFunc GT0
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
 textures/exx/floor-grate03
 {
        qer_editorimage textures/exx/floor/floor_grate03.tga
@@ -503,6 +527,30 @@ textures/exx/floor-grate03
                blendfunc filter
        }
 }
+textures/exx/floor-grate03-cull
+{
+       qer_editorimage textures/exx/floor/floor_grate03.tga
+       surfaceparm trans
+       surfaceparm metalsteps
+       q3map_bounceScale  0.75
+       surfaceparm alphashadow
+       surfaceparm nomarks
+       dpoffsetmapping - 2
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+
+       {
+               map textures/exx/floor/floor_grate03.tga
+            alphaFunc GT0
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
 textures/exx/floor-grate04
 {
        qer_editorimage textures/exx/floor/floor_grate04.tga
@@ -948,6 +996,34 @@ textures/exx/panel-grate01
                blendfunc filter
        }
 }
+textures/exx/panel-grate01-cull
+{
+       qer_editorimage textures/exx/panel/panel_grate01.tga
+       
+       surfaceparm metalsteps
+       q3map_bounceScale  2
+       dpoffsetmapping - 2
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm alphashadow
+
+       nopicmip
+       nomipmaps
+       {
+               map textures/exx/panel/panel_grate01.tga
+               alphaFunc GT0
+               rgbgen vertex
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
 textures/exx/panel-metal01
 {
        qer_editorimage textures/exx/panel/panel_metal01.tga