]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
have *-cull variants for all grates with default culling behavior
authorMaik Merten <maikmerten@googlemail>
Sun, 24 Oct 2010 12:01:34 +0000 (14:01 +0200)
committerMaik Merten <maikmerten@googlemail>
Sun, 24 Oct 2010 12:01:34 +0000 (14:01 +0200)
scripts/exx.shader

index 08886914fe28fbbcff08831ef8530f7aaad1e7c5..50d555b1e22afc4d1a35a67a0f76e27d18d30a97 100644 (file)
@@ -467,6 +467,30 @@ textures/exx/floor-grate02
        dpglossexponentmod  4
 
 
+       {
+               map textures/exx/floor/floor_grate02.tga
+            alphaFunc GT0
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               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
@@ -492,6 +516,30 @@ textures/exx/floor-grate03
        dpglossexponentmod  4
 
 
+       {
+               map textures/exx/floor/floor_grate03.tga
+            alphaFunc GT0
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               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
@@ -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