X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=blobdiff_plain;f=scripts%2Fterrain01x.shader;h=0e7ad244ca15e6e1b21c5830490e6f08c1b1e9fb;hp=36aa7451598e03662d60ed88a932e4757fc60ee3;hb=c15be7129a2b729363c7790452e5a1d588cbde81;hpb=ce750adf3d6f8cef31e17e5ef49027b0a8b7a84d;ds=sidebyside diff --git a/scripts/terrain01x.shader b/scripts/terrain01x.shader index 36aa7451..0e7ad244 100644 --- a/scripts/terrain01x.shader +++ b/scripts/terrain01x.shader @@ -29,6 +29,37 @@ textures/terrain01x/blends-mars-rock01-ground01 } } +textures/terrain01x/blends-mars-rock01-sand04 +{ + qer_editorimage textures/terrain01x/blends/mars-rock01-sand04.tga + + q3map_bounceScale 0.5 + dpoffsetmapping - 2 + + 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/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 { qer_editorimage textures/terrain01x/blends/mars-rock02-ground01.tga @@ -93,6 +124,38 @@ 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 + + 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