]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/exx.shader
fix light subdivision on the shaders
[xonotic/xonotic-maps.pk3dir.git] / scripts / exx.shader
index 035a9bd032c405bc44051f9fca27105600f00af3..a641bf8c7dd00ad126919147a85c241fecffff48 100644 (file)
@@ -504,6 +504,33 @@ textures/exx/floor-grate04
                blendfunc filter
        }
 }
+
+textures/exx/floor-grate04-cull
+{
+       qer_editorimage textures/exx/floor/floor_grate04.tga
+       surfaceparm trans
+       surfaceparm metalsteps
+       q3map_bounceScale  0.75
+       surfaceparm alphashadow
+       surfaceparm nomarks
+       dpoffsetmapping - 2
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+
+       {
+               map textures/exx/floor/floor_grate04.tga
+            alphaFunc GT0
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+
+
 textures/exx/floor-metal02
 {
        qer_editorimage textures/exx/floor/floor_metal02.tga
@@ -709,6 +736,75 @@ textures/exx/floor-wrn01
        }
 }
 
+textures/exx/floor-wrn01-blue
+{
+       qer_editorimage textures/exx/floor/floor_wrn01-blue.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 2
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+
+       {
+               map textures/exx/floor/floor_wrn01-blue.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+
+textures/exx/floor-wrn01-red
+{
+       qer_editorimage textures/exx/floor/floor_wrn01-red.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 2
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+
+       {
+               map textures/exx/floor/floor_wrn01-red.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+
+textures/exx/floor-wrn01-purple
+{
+       qer_editorimage textures/exx/floor/floor_wrn01-purple.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 2
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+
+       {
+               map textures/exx/floor/floor_wrn01-purple.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+
 textures/exx/light-panel01
 {
        qer_editorimage textures/exx/light/light_panel01.tga
@@ -740,6 +836,7 @@ textures/exx/light-panel01-surfacelight
        dpglossexponentmod  4
 
        q3map_surfacelight 2500
+       q3map_lightSubdivide 32
 
        {
                map textures/exx/light/light_panel01.tga
@@ -784,6 +881,7 @@ textures/exx/light-u201-surfacelight
        dpglossexponentmod  4
 
        q3map_surfacelight 2500
+       q3map_lightSubdivide 32
 
        {
                map textures/exx/light/light_u201.tga
@@ -797,6 +895,35 @@ textures/exx/light-u201-surfacelight
                blendfunc filter
        }
 }
+textures/exx/panel-grate01
+{
+       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
+
+       cull none
+       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