]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
ad sRGB surfacelights to shaders (reduced surfacelights)
authorMatthias Krüger <matthias.krueger@famsik.de>
Mon, 31 Aug 2015 15:21:22 +0000 (17:21 +0200)
committerMatthias Krüger <matthias.krueger@famsik.de>
Mon, 31 Aug 2015 15:21:22 +0000 (17:21 +0200)
scripts/exx.shader
scripts/trak5x.shader

index 961244ea482d7c299a1cbe5e401cd7c66bd983a2..2c42daa80131c83697f6efd9e999c93ede509133 100644 (file)
@@ -922,6 +922,31 @@ textures/exx/light-panel01-surfacelight
                blendfunc filter
        }
 }
+textures/exx/light-panel01-surfacelight_sRGB
+{
+       qer_editorimage textures/exx/light/light_panel01.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 2 match8 79
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 64
+
+       {
+               map textures/exx/light/light_panel01.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+
 textures/exx/light-u201
 {
        qer_editorimage textures/exx/light/light_u201.tga
@@ -959,6 +984,30 @@ textures/exx/light-u201-surfacelight
                map textures/exx/light/light_u201.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/exx/light-u201-surfacelight_sRGB
+{
+       qer_editorimage textures/exx/light/light_u201.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 2 match8 76
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 64
+
+       {
+               map textures/exx/light/light_u201.tga
+               
+
        }
        {
                map $lightmap
index 0707c6657173bfaf75f1c60fd14dabb8629e2e92..fa8766902cd7a455ad46e855da9efbd76c0d54a9 100644 (file)
@@ -943,6 +943,28 @@ textures/trak5x/light-light1a-surfacelight
                map textures/trak5x/light/light_light1a.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light1a-surfacelight_sRGB
+{
+       qer_editorimage textures/trak5x/light/light_light1a.tga
+       dpoffsetmapping - 4 match8 67
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 64
+
+       {
+               map textures/trak5x/light/light_light1a.tga
+               
+
        }
        {
                map $lightmap
@@ -984,6 +1006,28 @@ textures/trak5x/light-light1b-surfacelight
                map textures/trak5x/light/light_light1b.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light1b-surfacelight_sRGB
+{
+       qer_editorimage textures/trak5x/light/light_light1b.tga
+       dpoffsetmapping - 4 match8 67
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 64
+
+       {
+               map textures/trak5x/light/light_light1b.tga
+               
+
        }
        {
                map $lightmap
@@ -1033,6 +1077,27 @@ textures/trak5x/light-light1c-surfacelight
                blendfunc filter
        }
 }
+textures/trak5x/light-light1c-surfacelight_sRGB
+{
+       qer_editorimage textures/trak5x/light/light_light1c.tga
+       dpoffsetmapping - 4 match8 67
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 64
+
+       {
+               map textures/trak5x/light/light_light1c.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+
 textures/trak5x/light-light2a
 {
        qer_editorimage textures/trak5x/light/light_light2a.tga
@@ -1066,6 +1131,28 @@ textures/trak5x/light-light2a-surfacelight
                map textures/trak5x/light/light_light2a.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light2a-surfacelight_sRGB
+{
+       qer_editorimage textures/trak5x/light/light_light2a.tga
+       dpoffsetmapping - 4 match8 85
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 64
+
+       {
+               map textures/trak5x/light/light_light2a.tga
+               
+
        }
        {
                map $lightmap
@@ -1107,6 +1194,28 @@ textures/trak5x/light-light2b-surfacelight
                map textures/trak5x/light/light_light2b.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light2b-surfacelight_sRGB
+{
+       qer_editorimage textures/trak5x/light/light_light2b.tga
+       dpoffsetmapping - 4 match8 85
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 64
+
+       {
+               map textures/trak5x/light/light_light2b.tga
+               
+
        }
        {
                map $lightmap
@@ -1148,6 +1257,28 @@ textures/trak5x/light-light2c-surfacelight
                map textures/trak5x/light/light_light2c.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light2c-surfacelight_sRGB
+{
+       qer_editorimage textures/trak5x/light/light_light2c.tga
+       dpoffsetmapping - 4 match8 85
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 64
+
+       {
+               map textures/trak5x/light/light_light2c.tga
+               
+
        }
        {
                map $lightmap
@@ -1230,6 +1361,28 @@ textures/trak5x/light-light3a-surfacelight
                map textures/trak5x/light/light_light3a.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light3a-surfacelight_sRGB
+{
+       qer_editorimage textures/trak5x/light/light_light3a.tga
+       dpoffsetmapping - 4 match8 73
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 32
+
+       {
+               map textures/trak5x/light/light_light3a.tga
+               
+
        }
        {
                map $lightmap
@@ -1271,6 +1424,28 @@ textures/trak5x/light-light3b-surfacelight
                map textures/trak5x/light/light_light3b.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light3b-surfacelight_sRGB
+{
+       qer_editorimage textures/trak5x/light/light_light3b.tga
+       dpoffsetmapping - 4 match8 73
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 625
+       q3map_lightSubdivide 32
+
+       {
+               map textures/trak5x/light/light_light3b.tga
+               
+
        }
        {
                map $lightmap