]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/exx.shader
better idea, create separate shaders for surfacelight options
[xonotic/xonotic-maps.pk3dir.git] / scripts / exx.shader
index 525529f8ab69db5628a9f36f61d73ab82ba9366e..eb3db9d2948aaba25845295cb1ba49c26691a414 100644 (file)
@@ -718,7 +718,28 @@ textures/exx/light-panel01
        dpglossintensitymod  3
        dpglossexponentmod  4
 
-       q3map_surfacelight 3500
+       {
+               map textures/exx/light/light_panel01.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/exx/light-panel01-surfacelight
+{
+       qer_editorimage textures/exx/light/light_panel01.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 2
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+       q3map_surfacelight 1700
 
        {
                map textures/exx/light/light_panel01.tga
@@ -741,7 +762,28 @@ textures/exx/light-u201
        dpglossintensitymod  3
        dpglossexponentmod  4
 
-       q3map_surfacelight 3500
+       {
+               map textures/exx/light/light_u201.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/exx/light-u201-surfacelight
+{
+       qer_editorimage textures/exx/light/light_u201.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 2
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+       q3map_surfacelight 1700
 
        {
                map textures/exx/light/light_u201.tga