]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/terrain01x.shader
hide warnings for cases where we know it's fine
[xonotic/xonotic-maps.pk3dir.git] / scripts / terrain01x.shader
index af3e0d336026ab0c3ba87eab0095758a81c8d5fa..8d3daeeaeb26b92cdee6543fc82ed9bc3360ee55 100644 (file)
@@ -1,11 +1,40 @@
 textures/terrain01x/blends-mars-rock01-ground01
 {
        qer_editorimage textures/terrain01x/blends/mars-rock01-ground01.tga
+       
+       q3map_bounceScale  0.5
+       dpoffsetmapping - 2 match8 229
+
+       q3map_lightmapSampleOffset 8
+       q3map_nonplanar
+       q3map_shadeangle 95
+
+       surfaceparm dust
+
+       q3map_alphaMod dotproduct2 ( 0 0 0.95 )
+
+       {
+               map textures/terrain01x/rock/mars01.tga // Primary
+       }
+
+       {
+               map textures/terrain01x/ground/mars01.tga       // Secondary
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
+               alphaGen vertex
+       }
 
-       dpmeshcollisions
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
 
+textures/terrain01x/blends-mars-rock01-sand04
+{
+       qer_editorimage textures/terrain01x/blends/mars-rock01-sand04.tga
+       
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 229
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -20,7 +49,7 @@ textures/terrain01x/blends-mars-rock01-ground01
        }
 
        {
-               map textures/terrain01x/ground/mars01.tga       // Secondary
+               map textures/terrain01x/ground/sand04.tga       // Secondary
                blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
                alphaGen vertex
        }
@@ -36,7 +65,7 @@ textures/terrain01x/blends-mars-rock02-ground01
        qer_editorimage textures/terrain01x/blends/mars-rock02-ground01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 226
 
 
        q3map_lightmapSampleOffset 8
@@ -68,7 +97,7 @@ textures/terrain01x/blends-mars-rock01-ground01-projected
        qer_editorimage textures/terrain01x/blends/mars-rock01-ground01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 229
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -95,12 +124,44 @@ textures/terrain01x/blends-mars-rock01-ground01-projected
        }
 }
 
+textures/terrain01x/blends-mars-rock01-sand04-projected
+{
+       qer_editorimage textures/terrain01x/blends/mars-rock01-sand04.tga
+       
+       q3map_bounceScale  0.5
+       dpoffsetmapping - 2 match8 229
+
+       q3map_lightmapSampleOffset 8
+       q3map_nonplanar
+       q3map_shadeangle 95
+
+       surfaceparm dust
+
+       q3map_alphaMod dotproduct2 ( 0 0 0.95 )
+       q3map_tcGen ivector ( 1024 0 0 ) ( 0 1024 0 )
+
+       {
+               map textures/terrain01x/rock/mars01.tga // Primary
+       }
+
+       {
+               map textures/terrain01x/ground/sand04.tga       // Secondary
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
+               alphaGen vertex
+       }
+
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
+
 textures/terrain01x/blends-mars-rock02-ground01-projected
 {
        qer_editorimage textures/terrain01x/blends/mars-rock02-ground01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 226
 
 
        q3map_lightmapSampleOffset 8
@@ -131,10 +192,11 @@ textures/terrain01x/blends-mars-rock02-ground01-projected
 
 textures/terrain01x/ground-barren01
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/barren01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 112
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -154,10 +216,11 @@ textures/terrain01x/ground-barren01
 }
 textures/terrain01x/ground-barren02
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/barren02.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 207
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -177,10 +240,11 @@ textures/terrain01x/ground-barren02
 }
 textures/terrain01x/ground-drylake01
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/drylake01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 184
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -200,10 +264,11 @@ textures/terrain01x/ground-drylake01
 }
 textures/terrain01x/ground-drylake02
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/drylake02.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 184
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -223,10 +288,11 @@ textures/terrain01x/ground-drylake02
 }
 textures/terrain01x/ground-goopit
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/goopit.tga
        
        q3map_bounceScale  0.75
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 72
        dpglossintensitymod  2
        dpglossexponentmod  2
 
@@ -248,10 +314,11 @@ textures/terrain01x/ground-goopit
 }
 textures/terrain01x/ground-gravel01
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/gravel01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 202
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -271,10 +338,11 @@ textures/terrain01x/ground-gravel01
 }
 textures/terrain01x/ground-ice01
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/ice01.tga
        
        q3map_bounceScale  0.75
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 254
        dpglossintensitymod  2
        dpglossexponentmod  2
 
@@ -294,32 +362,13 @@ textures/terrain01x/ground-ice01
                blendfunc filter
        }
 }
-textures/terrain01x/ground-ice02
-{
-       qer_editorimage textures/terrain01x/ground/ice01.tga
-       
-       q3map_bounceScale  0.75
-       dpoffsetmapping - 2
-       dpglossintensitymod  2
-       dpglossexponentmod  2
-       surfaceparm nolightmap
-        surfaceparm trans      
-
-       q3map_nonplanar
-       q3map_shadeangle 15
-
-       {
-               map textures/terrain01x/ground/ice01.tga
-               blendfunc filter                
-               rgbGen identity
-       }
-}
 textures/terrain01x/ground-mars01
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/mars01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 186
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -339,10 +388,11 @@ textures/terrain01x/ground-mars01
 }
 textures/terrain01x/ground-mud01
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/mud01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 210
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -362,10 +412,11 @@ textures/terrain01x/ground-mud01
 }
 textures/terrain01x/ground-mud02
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/mud02.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 177
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -385,10 +436,11 @@ textures/terrain01x/ground-mud02
 }
 textures/terrain01x/ground-sand01
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/sand01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 160
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -408,10 +460,11 @@ textures/terrain01x/ground-sand01
 }
 textures/terrain01x/ground-sand02
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/sand02.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 197
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -431,10 +484,11 @@ textures/terrain01x/ground-sand02
 }
 textures/terrain01x/ground-sand03
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/sand03.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 188
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -454,10 +508,11 @@ textures/terrain01x/ground-sand03
 }
 textures/terrain01x/ground-sand04
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/ground/sand04.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 228
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -477,10 +532,11 @@ textures/terrain01x/ground-sand04
 }
 textures/terrain01x/rock-mars01
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/rock/mars01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 229
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -500,10 +556,11 @@ textures/terrain01x/rock-mars01
 }
 textures/terrain01x/rock-mars02
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/rock/mars02.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 226
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -523,10 +580,11 @@ textures/terrain01x/rock-mars02
 }
 textures/terrain01x/rock-rock01
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/rock/rock01.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 174
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -546,10 +604,11 @@ textures/terrain01x/rock-rock01
 }
 textures/terrain01x/rock-rock02
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/rock/rock02.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 145
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar
@@ -569,10 +628,11 @@ textures/terrain01x/rock-rock02
 }
 textures/terrain01x/rock-rock03
 {
+       xon_nowarn "We're intentionally using an alpha'd texture without using the alpha channel"
        qer_editorimage textures/terrain01x/rock/rock03.tga
        
        q3map_bounceScale  0.5
-       dpoffsetmapping - 2
+       dpoffsetmapping - 2 match8 166
 
        q3map_lightmapSampleOffset 8
        q3map_nonplanar