// RTCW Shaders

models/multiplayer/secretdocs/wood_m12
{
	implicitMap textures/wood/wood_m12.tga
}

textures/props/flags_m1
{
	surfaceparm alphashadow
	// qer_trans 0.50
//	deformVertexes wave 194 sin 0 2 0 .1
//	deformVertexes wave 30 sin 0 1 0 .3
//	deformVertexes wave 194 sin 0 1 0 .4
	deformVertexes wave 10 sin 0 2 0 .2
	cull twosided
	{
		map textures/props/flags_m1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}

}

textures/skies/terrain_haze
{
	qer_editorimage textures/liquids/mx_fogcloud3_alpha.tga
//	cull front // invalid JPW FIXME SP merge
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm alphashadow

//	{
//		map textures/assault_rock/hazz.tga
//		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
//		tcMod scroll -0.001 -0.005
//		tcMod scale 1 1
//		rgbGen identity
//	}
	{
		map textures/liquids/mx_fogcloud3_alpha.tga
	//	blendfunc gl_dst_color gl_zero
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	//	tcmod scale 1 1
	//	tcmod scroll .005 -.005
	//	tcmod stretch sin 1 .5 0 1
		rgbgen identity
	}

}

textures/liquids/xwater_waste

//	*********************************************************
//	*     			 Maxx				*
//	*      		Comment all changes                   	*
//	*********************************************************
		
	{
		qer_editorimage textures/liquids/water_m7.tga
		qer_trans .5
		q3map_globaltexture
	//	surfaceparm trans
		surfaceparm nonsolid
		surfaceparm water
	
		cull disable
		deformVertexes wave 64 sin .5 .2 0 .5	
		{ 
			map textures/liquids/water_m7.tga
			blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//	blendFunc GL_dst_color GL_one
			rgbgen vertex
			tcmod scale .3 .5
			tcmod stretch 0 1 .01 0 .25 1
			tcmod scroll .005 .005
		}	

	
		{ 
		//	map textures/liquids/water_m1.tga
		//	map textures/liquids/water_m4.tga
		//	blendFunc GL_dst_color GL_one
		//	rgbgen identity		
		//	tcmod scale -.4 .3
		//	tcmod stretch 0 1 .01 0 .25 1
		//	tcmod rotate 5 
	///		tcmod scroll -.005 .0051
		}

		{ 
		//	map textures/liquids/water_m1.tga
	//		map textures/liquids/water_m4.tga
	//		blendFunc GL_dst_color GL_one
	//		rgbgen identity
			tcmod scale .4 .5
		//	tcmod stretch 0 1 .01 0 .25 1
	//		tcmod scroll -.005 -.0055
		}
	
		{
			map $lightmap
			blendFunc GL_dst_color GL_zero
			rgbgen identity		
		}
}

textures/axis_lab/pic_01
{
    surfaceparm woodsteps
    {
        map $lightmap
        rgbGen identity
    }
    {
        map textures/axis_lab/pic_01.tga
        blendFunc GL_DST_COLOR GL_ZERO
        rgbGen identity
    }
}

textures/axis_lab/pic_02
{
    surfaceparm woodsteps
    {
        map $lightmap
        rgbGen identity
    }
    {
        map textures/axis_lab/pic_02.tga
        blendFunc GL_DST_COLOR GL_ZERO
        rgbGen identity
    }
}

textures/axis_lab/pic_03
{
    surfaceparm woodsteps
    {
        map $lightmap
        rgbGen identity
    }
    {
        map textures/axis_lab/pic_03.tga
        blendFunc GL_DST_COLOR GL_ZERO
        rgbGen identity
    }
}

textures/chateau/wood_c22
{
	surfaceparm woodsteps
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/chateau/wood_c22.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/props/light
{
   q3map_lightimage textures/props/light.tga
    //red KP light
    qer_editorimage textures/props/light.tga
    q3map_surfacelight 200

//    light 1
    surfaceparm nomarks
    {
        map $lightmap
        rgbGen identity
    }
    {
        map textures/props/light.tga
        blendFunc GL_DST_COLOR GL_ZERO
        rgbGen identity
    }
    {
        map textures/props/light.tga
        blendFunc GL_ONE GL_ONE
    }
}

textures/props/fwindow1
{
	surfaceparm trans
	q3map_surfacelight 1
	{
		map textures/props/fwindow1.tga
//		blendFunc GL_ONE GL_SRC_ALPHA
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
//	{
//		map $lightmap
//		blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
//		rgbGen identity
//	}
}

textures/props/freeze_glass_old
{
   		deformVertexes wave 64 sin .25 .25 0 .5
  	//	deformVertexes wave 100 sin 0 .2 0 .2
		q3map_surfacelight 1
	{ 
		map textures/props/freeze_glass.tga
		blendFunc GL_dst_color GL_one
		tcmod scale -2 -2
		tcmod scroll .0 -0.20
	}
	{ 
		map textures/props/freeze_cloud.tga
		blendFunc GL_dst_color GL_one
		tcmod scale 1 1
		tcmod scroll .05 .025
	}

	
	{
		map $lightmap
		blendFunc GL_dst_color GL_zero
		rgbgen identity		
	}
}

textures/props/freeze_glass
{
   		deformVertexes wave 64 sin .25 .25 0 .5
		q3map_surfacelight 1
	
	{
		map textures/props/freeze_cloud.tga
		blendFunc GL_ONE GL_ONE
		rgbGen vertex
		tcGen environment
		depthWrite
		tcmod scale -2 -2
		tcmod scroll .0 -0.20
	}
		
//	{ 
//		map textures/props/freeze_glass.tga
//		blendFunc blend
//		rgbGen identity
//		alphaGen const 0.8
//		tcmod scale 1 1
//		tcmod scroll 0.03 0
//	}
	
}

textures/liquids/water_mxwld
{
	qer_editorimage textures/liquids/water_m6.tga
	qer_trans .5
	q3map_globaltexture
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	
	cull disable
	deformVertexes wave 64 sin .25 .25 0 .5	
		{ 
			map textures/liquids/water_m6.tga
			blendFunc GL_dst_color GL_one
			rgbgen identity
			tcmod scale .5 .5
			tcmod scroll .025 .01
		}
	
	//	{ 
	//		map textures/liquids/water_m7.tga
	//		blendFunc GL_dst_color GL_one
	//		rgbgen identity
	//		tcmod scale -1 -1
	//		tcmod scroll .025 .025
	//	}

	
		{
			map $lightmap
			blendFunc GL_dst_color GL_zero
			rgbgen identity		
		}
}

textures/metal_misc/metal_m04ss
{
	surfaceparm metalsteps
	{
		map textures/effects/tinfx.tga
		rgbGen identity
		tcGen environment
	}
	{
		map textures/metal_misc/metal_m04ss.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/metal_misc/metal_m04ss_osa
{
	surfaceparm metalsteps
	{
		map textures/effects/tinfx.tga
		rgbGen identity
		tcGen environment
	}
	{
		map textures/metal_misc/metal_m04ss_osa.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/metal_misc/shiny_metal_small
{
	surfaceparm metalsteps
	{
		implicitMap textures/metal_misc/ametal_m03.tga
	}
}

models/mapobjects/torture/ametal_m03dm
{
	surfaceparm metalsteps
	{
		implicitMap -
	}
}

textures/sfx/xflame2_1750_nolick
{
	surfaceparm nomarks
	surfaceparm nolightmap
	surfaceparm nodlight
	cull none
	q3map_lightimage textures/sfx/flame_COLOR.tga
	q3map_surfacelight 1750
	qer_editorimage textures/sfx/flame1.tga

	{
		animMap 8 textures/sfx/flame1.tga textures/sfx/flame2.tga textures/sfx/flame3.tga textures/sfx/flame4.tga textures/sfx/flame5.tga textures/sfx/flame6.tga textures/sfx/flame7.tga textures/sfx/flame8.tga


		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen wave sawtooth 0 1 0 8
	}	
	{
		animMap 8 textures/sfx/flame8.tga textures/sfx/flame1.tga textures/sfx/flame2.tga textures/sfx/flame3.tga textures/sfx/flame4.tga textures/sfx/flame5.tga textures/sfx/flame6.tga textures/sfx/flame7.tga
		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 8
	}	
	{
		map textures/sfx/flameball.tga
		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen wave sin .6 .2 0 .6
//		rgbGen identity	
	}
}


//End RTCW

////////////////////
//Axis Lab Shaders//
////////////////////

textures/axis_lab/axis_lab_fog
{
	qer_editorimage textures/sfx/fog_grey1.tga
	
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm fog
	
	fogparms ( 0.069 0.069 0.0831 ) 4092 // RGB: 44 44 53
}

textures/assault/machine_c05b_up
{
	surfaceparm metalsteps
	implicitMap -
}

textures/assault/machine_c05b_down
{
	surfaceparm metalsteps
	implicitMap -
}

textures/axis_lab/axislab_mirror
{
	qer_editorimage textures/axis_lab/axislab_mirror_fx.tga
	surfaceparm glass
	{
		map textures/axis_lab/axislab_mirror_fx.tga
		rgbGen identity
		tcGen environment
		tcMod scale 4 4
	}
	{
		map textures/axis_lab/dirtymirror_lab.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/sfx/wilsflame1_brighter
{
	qer_editorimage textures/sfx/flame1.tga
	q3map_surfacelight 3000
	cull none
	nofog
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm trans
	{
		animMap 10 textures/sfx/flame1.tga textures/sfx/flame2.tga textures/sfx/flame3.tga textures/sfx/flame4.tga textures/sfx/flame5.tga textures/sfx/flame6.tga textures/sfx/flame7.tga textures/sfx/flame8.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}
	{
		animMap 10 textures/sfx/flame2.tga textures/sfx/flame3.tga textures/sfx/flame4.tga textures/sfx/flame5.tga textures/sfx/flame6.tga textures/sfx/flame7.tga textures/sfx/flame8.tga textures/sfx/flame1.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/sfx/flameball.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6
	}
}

textures/axis_lab/sky_axis_lab
{
	nocompress
	qer_editorimage textures/skies/topclouds.tga
	q3map_globaltexture
//	q3map_lightsubdivide 1024
//	q3map_surfacelight 10
//	skyfogvars ( 0.266383 0.274632 0.358662 ) .01
//	fogvars ( 0.05 0.05 0.058 ) .0008
//	fogvars ( 0.266383 0.274632 0.358662 ) 4000
	q3map_sun	0.266383 0.274632 0.358662 30 25 45
	q3map_sun	0.266383 0.274632 0.358662 10 25 50
	q3map_sun	0.266383 0.274632 0.358662 10 25 40
	q3map_sun	0.266383 0.274632 0.358662 10 30 45
	q3map_sun	0.266383 0.274632 0.358662 10 20 45

	q3map_nofog
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nodlight
	surfaceparm sky
	
//	skyparms textures/skies_sd/wurzburg_env/sky 512 -
	skyparms - 512 -
 
	sunshader textures/axis_lab/moon_axis_lab
 
	{
		fog off
		map textures/axis_lab/axis_lab_dimclouds.tga
		tcMod scroll 0.0035 0.0035
		tcMod scale 5 5
		depthWrite
	}

	{
		fog off
		map textures/axis_lab/newclouds2_axis_lab.tga
		blendfunc GL_ONE GL_ONE
		tcMod scale 30 30
	}

	{
		fog off
		clampmap textures/axis_lab/axis_lab_fogmask.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		tcMod scale 0.956 0.956
		tcMod transform 1 0 0 1 -1 -1
		// rgbGen identityLighting
		//rgbGen const ( 0.6 0.6 0.6 ) 
		rgbGen const ( 0.4 0.4 0.4 ) 
	}
}

textures/axis_lab/sky_axis_lab_old
{
	qer_editorimage textures/skies/nightsky1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_globaltexture
	q3map_lightsubdivide 1024 
	q3map_sun	0.266383 0.274632 0.358662 28 25 45
//	q3map_surfacelight 10
//	skyfogvars ( 0.266383 0.274632 0.358662 ) .01
//	fogvars ( 0.266383 0.274632 0.358662 ) .002
//	fogvars ( 0.266383 0.274632 0.358662 ) 4000
	sunshader textures/axis_lab/moon_axis_lab
	skyparms - 200 -
	surfaceparm sky
	
	{
		map textures/axis_lab/axis_lab_dimclouds.tga
		tcMod scroll 0.0035 0.0035
		tcMod scale 5 5
		depthWrite
	}
	{
		map textures/axis_lab/newclouds2_axis_lab.tga
		blendfunc GL_ONE GL_ONE
		tcMod scale 30 30
	}
}
textures/axis_lab/moon_axis_lab
{
	qer_editorimage textures/axis_lab/moon_axis_lab.tga
	nofog

	{
		map textures/axis_lab/moon_axis_lab.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
}

textures/axis_lab/water_axis_lab	
{
	qer_editorimage textures/liquids/ocean_m1.tga
	qer_trans .5
	q3map_globaltexture
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	cull disable
//	waterfogvars ( 0.1 0.1 0.21 ) 512

	{ 
		map textures/liquids/ocean_m1.tga
		rgbgen identity
		tcmod scale .8 .7
		tcmod scroll .00 -.18
	}
	
	{
	   	map $lightmap
		blendFunc GL_dst_color GL_zero
		rgbgen identity		
	}
	
}

textures/axis_lab/xwater_waste_axis_lab
{
		qer_editorimage textures/liquids/water_m7.tga
		qer_trans .5
		q3map_globaltexture
	//	surfaceparm trans
		surfaceparm nonsolid
		surfaceparm water
		cull disable
		{ 
			map textures/liquids/water_m7.tga
			blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//	blendFunc GL_dst_color GL_one
			rgbgen vertex
			tcmod scale .3 .5
		//	tcmod stretch 0 1 .01 0 .25 1
			tcmod scroll 0 -.03
		}	
	
		{ 
			tcmod scale .4 .5
		}
	
		{
			map $lightmap
			blendFunc GL_dst_color GL_zero
			rgbgen identity		
		}
}

textures/axis_lab/water_mxwld_axis_lab

		
{
		qer_editorimage textures/liquids/water_m6.tga
		qer_trans .5
		q3map_globaltexture
		surfaceparm trans
		surfaceparm nonsolid
		surfaceparm water
	
		cull disable
		deformVertexes wave 64 sin .25 .25 0 .5	

	//	waterfogvars ( 0.2 0.9 0.1 ) 150
	//	{
	//		fog on
	//		map $lightmap
	//		blendFunc GL_dst_color GL_zero
	//		rgbgen identity		
	//	}

		{ 
			fog on
			map textures/liquids/water_m6.tga
			blendFunc GL_dst_color GL_one
			rgbgen identity
			tcmod scale .5 .5
		}
	
	//	{ 
	//		map textures/liquids/water_m7.tga
	//		blendFunc GL_dst_color GL_one
	//		rgbgen identity
	//		tcmod scale -1 -1
	//		tcmod scroll .025 .025
	//	}

	
		{
			map $lightmap
			blendFunc GL_dst_color GL_zero
			rgbgen identity		
		}
}


textures/axis_lab/light_m4_lit
{
	qer_editorimage textures/lights/light_m6.tga
	q3map_surfacelight 1
	{
		map textures/lights/light_m6.tga
		rgbGen identity
	}
}

textures/axis_lab/light_m25b_10k
{
	q3map_lightimage textures/lights/light_msb1.tga
	qer_editorimage textures/lights/light_m25b.tga
	q3map_surfacelight 10000
	surfaceparm nomarks
	q3map_lightsubdivide 128

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/lights/light_m25b.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/lights/light_m25b.tga
		blendFunc GL_ONE GL_ONE
	}
}

textures/axis_lab/dirtymirror_lab
{
	//dirt pass
	qer_editorimage textures/common/dirtymirror.tga
	surfaceparm nolightmap
	portal
	{
		map textures/axis_lab/dirtymirror_lab.tga
		blendFunc GL_ONE GL_ONE
 		depthWrite
	}
//	{
//		map textures/axis_lab/dirtymirror_lab.tga
//		blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA`
//	}
}

textures/axis_lab/rug_lab
{
    surfaceparm carpetsteps
    qer_editorimage textures/chat/carpet_c03.tga
    {
        map $lightmap
        rgbGen identity
    }
    {
        map textures/chat/carpet_c03.tga
        blendFunc GL_DST_COLOR GL_ZERO
        rgbGen identity
    }
}


///////////// Axis Lab Terrain ///////////////
//////////////////////////////////////////////

textures/axis_lab/alterrain_base
{
	q3map_lightmapaxis z
	q3map_lightmapmergable
	q3map_lightmapsize 512 512
	q3map_tcGen ivector ( 299 0 0 ) ( 0 299 0 )
}


textures/axis_lab/alterrain_0
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm gravelsteps
	surfaceparm landmine
	{
		map textures/stone/mxrock1aa.tga
		tcmod scale 1.5 1.5
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_1
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm gravelsteps
	{
		map textures/stone/mxrock3_a.tga
		tcmod scale 3.0 3.0
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_2
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm gravelsteps
	{
		map textures/stone/mxrock3_a.tga
		tcmod scale 0.75 0.75 
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_3
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm snowsteps
	surfaceparm landmine
	{
		map textures/snow_sd/s_grass_ml03b_big.tga
		tcmod scale 0.75 0.75  
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_4
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm grasssteps
	surfaceparm landmine
	{
		map textures/temperate_sd/grass_path1.tga
		tcmod scale 1.5 1.5 
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_0to1
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm gravelsteps
	{
		map textures/stone/mxrock1aa.tga	
		tcmod scale 1.5 1.5 
	}
	{
		map textures/stone/mxrock3_a.tga
		tcmod scale 3.0 3.0
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_0to2
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm gravelsteps
	{
		map textures/stone/mxrock1aa.tga
		tcmod scale 1.5 1.5
	}
	{
		map textures/stone/mxrock3_a.tga
		tcmod scale 0.75 0.75 
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_0to3
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm gravelsteps
	surfaceparm landmine
	{
		map textures/stone/mxrock1aa.tga
		tcmod scale 1.5 1.5
	}
	{
		map textures/snow_sd/s_grass_ml03b_big.tga
		tcmod scale 0.75 0.75 
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_0to4
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm gravelsteps
	surfaceparm landmine
	{
		map textures/stone/mxrock1aa.tga
		tcmod scale 1.5 1.5
	}
	{
		map textures/temperate_sd/grass_path1.tga
		tcmod scale 1.5 1.5 
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_1to2
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm gravelsteps
	{
		map textures/stone/mxrock3_a.tga
		tcmod scale 3.0 3.0 
	}
	{
		map textures/stone/mxrock3_a.tga
		tcmod scale 0.75 0.75 
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_1to3
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm snowsteps
	{
		map textures/stone/mxrock3_a.tga
		tcmod scale 3.0 3.0 
	}
	{
		map textures/snow_sd/s_grass_ml03b_big.tga
		tcmod scale 0.75 0.75 
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_1to4
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm grasssteps
	{
		map textures/stone/mxrock3_a.tga
		tcmod scale 3.0 3.0 
	}
	{
		map textures/temperate_sd/grass_path1.tga
		tcmod scale 1.5 1.5 
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_2to3
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm snowsteps
	{
		map textures/stone/mxrock3_a.tga
		tcmod scale 0.75 0.75 
	}
	{
		map textures/snow_sd/s_grass_ml03b_big.tga
		tcmod scale 0.75 0.75 
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/axis_lab/alterrain_2to4
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm gravelsteps
	{
		map textures/stone/mxrock3_a.tga
		tcmod scale 0.75 0.75 
	}
	{
		map textures/temperate_sd/grass_path1.tga
		tcmod scale 1.5 1.5 
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}


textures/axis_lab/alterrain_3to4
{
	q3map_baseshader textures/axis_lab/alterrain_base
	surfaceparm snowsteps
	surfaceparm landmine
	{
		map textures/snow_sd/s_grass_ml03b_big.tga
		tcmod scale 0.75 0.75 
	}
	{
		map textures/temperate_sd/grass_path1.tga
		tcmod scale 1.5 1.5 
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}
