]> 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 5fe332aa16708a59f7da987d754e849ff6611842..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
@@ -809,6 +836,7 @@ textures/exx/light-panel01-surfacelight
        dpglossexponentmod  4
 
        q3map_surfacelight 2500
+       q3map_lightSubdivide 32
 
        {
                map textures/exx/light/light_panel01.tga
@@ -853,6 +881,7 @@ textures/exx/light-u201-surfacelight
        dpglossexponentmod  4
 
        q3map_surfacelight 2500
+       q3map_lightSubdivide 32
 
        {
                map textures/exx/light/light_u201.tga