X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=scripts%2Fterrain01x.shader;h=8d3daeeaeb26b92cdee6543fc82ed9bc3360ee55;hb=2ff39ae5067b166929277fd250bc084a25a783de;hp=af3e0d336026ab0c3ba87eab0095758a81c8d5fa;hpb=807280eaf18a36726515ffcd8910e8921e0fe6b4;p=xonotic%2Fxonotic-maps.pk3dir.git diff --git a/scripts/terrain01x.shader b/scripts/terrain01x.shader index af3e0d33..8d3daeea 100644 --- a/scripts/terrain01x.shader +++ b/scripts/terrain01x.shader @@ -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