]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
better idea, create separate shaders for surfacelight options
authorFruitieX <rasse@rasse-lappy.localdomain>
Sun, 1 Aug 2010 16:35:38 +0000 (19:35 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Sun, 1 Aug 2010 16:35:38 +0000 (19:35 +0300)
scripts/exx.shader
scripts/trak5x.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
index fe13df808706015ee8c8692c2a454716f6cf584f..f55a419cfb15b7fc02ea9037e3cd2f79c9ded339 100644 (file)
@@ -783,7 +783,25 @@ textures/trak5x/light-light1a
        
        q3map_bounceScale 1.25
 
-       q3map_surfacelight 3500
+       {
+               map textures/trak5x/light/light_light1a.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light1a-surfacelight
+{
+       qer_editorimage textures/trak5x/light/light_light1a.tga
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 1700
 
        {
                map textures/trak5x/light/light_light1a.tga
@@ -803,7 +821,25 @@ textures/trak5x/light-light1b
        
        q3map_bounceScale 1.25
 
-       q3map_surfacelight 3500
+       {
+               map textures/trak5x/light/light_light1b.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light1b-surfacelight
+{
+       qer_editorimage textures/trak5x/light/light_light1b.tga
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 1700
 
        {
                map textures/trak5x/light/light_light1b.tga
@@ -823,7 +859,25 @@ textures/trak5x/light-light1c
        
        q3map_bounceScale 1.25
 
-       q3map_surfacelight 3500
+       {
+               map textures/trak5x/light/light_light1c.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light1c-surfacelight
+{
+       qer_editorimage textures/trak5x/light/light_light1c.tga
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 1700
 
        {
                map textures/trak5x/light/light_light1c.tga
@@ -843,7 +897,25 @@ textures/trak5x/light-light2a
        
        q3map_bounceScale 1.25
 
-       q3map_surfacelight 3500
+       {
+               map textures/trak5x/light/light_light2a.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light2a-surfacelight
+{
+       qer_editorimage textures/trak5x/light/light_light2a.tga
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 1700
 
        {
                map textures/trak5x/light/light_light2a.tga
@@ -863,7 +935,25 @@ textures/trak5x/light-light2b
        
        q3map_bounceScale 1.25
 
-       q3map_surfacelight 3500
+       {
+               map textures/trak5x/light/light_light2b.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light2b-surfacelight
+{
+       qer_editorimage textures/trak5x/light/light_light2b.tga
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 1700
 
        {
                map textures/trak5x/light/light_light2b.tga
@@ -883,7 +973,25 @@ textures/trak5x/light-light2c
        
        q3map_bounceScale 1.25
 
-       q3map_surfacelight 3500
+       {
+               map textures/trak5x/light/light_light2c.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light2c-surfacelight
+{
+       qer_editorimage textures/trak5x/light/light_light2c.tga
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 1700
 
        {
                map textures/trak5x/light/light_light2c.tga
@@ -903,7 +1011,25 @@ textures/trak5x/light-light2d
        
        q3map_bounceScale 1.25
 
-       q3map_surfacelight 3500
+       {
+               map textures/trak5x/light/light_light2d.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light2d-surfacelight
+{
+       qer_editorimage textures/trak5x/light/light_light2d.tga
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 1700
 
        {
                map textures/trak5x/light/light_light2d.tga
@@ -923,7 +1049,25 @@ textures/trak5x/light-light3a
        
        q3map_bounceScale 1.25
 
-       q3map_surfacelight 3500
+       {
+               map textures/trak5x/light/light_light3a.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/trak5x/light-light3a-surfacelight
+{
+       qer_editorimage textures/trak5x/light/light_light3a.tga
+       
+       q3map_bounceScale 1.25
+
+       q3map_surfacelight 1700
 
        {
                map textures/trak5x/light/light_light3a.tga