//===================================
//TERRAIN
//===================================

textures/warehouse/terrain_base
{
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	q3map_lightmapsize 512 512
	q3map_lightmapMergable
	q3map_lightmapsamplesize 16
	q3map_lightmapaxis z
	q3map_shadeangle 179
}


textures/warehouse/terrain_0
{
	q3map_baseshader textures/warehouse/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/temperate_sd/rock_ugly_brown.tga
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_1
{
	q3map_baseshader textures/warehouse/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/stone/mxrock3_a.tga
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_2
{
	q3map_baseshader textures/warehouse/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/temperate_sd/grass_path1.tga
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_3
{
	q3map_baseshader textures/warehouse/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/temperate_sd/master_grass_dirt3.tga
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_4
{
	q3map_baseshader textures/warehouse/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/temperate_sd/dirt3.tga
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_0to1
{
	q3map_baseshader textures/warehouse/terrain_base
	{
		map textures/temperate_sd/rock_ugly_brown.tga
		tcMod scale 1.125 1.125
	}
	{
		map textures/stone/mxrock3_a.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_0to2
{
	q3map_baseshader textures/warehouse/terrain_base
	{
		map textures/temperate_sd/rock_ugly_brown.tga
		tcMod scale 1.125 1.125
	}
	{
		map textures/temperate_sd/grass_path1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_0to3
{
	q3map_baseshader textures/warehouse/terrain_base
	{
		map textures/temperate_sd/rock_ugly_brown.tga
		tcMod scale 1.125 1.125
	}
	{
		map textures/temperate_sd/master_grass_dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_0to4
{
	q3map_baseshader textures/warehouse/terrain_base
	{
		map textures/temperate_sd/rock_ugly_brown.tga
		tcMod scale 1.125 1.125
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_1to2
{
	q3map_baseshader textures/warehouse/terrain_base
	{
		map textures/stone/mxrock3_a.tga
		tcMod scale 1.125 1.125
	}
	{
		map textures/temperate_sd/grass_path1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_1to3
{
	q3map_baseshader textures/warehouse/terrain_base
	{
		map textures/stone/mxrock3_a.tga
		tcMod scale 1.125 1.125
	}
	{
		map textures/temperate_sd/master_grass_dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_1to4
{
	q3map_baseshader textures/warehouse/terrain_base
	{
		map textures/stone/mxrock3_a.tga
		tcMod scale 1.125 1.125
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_2to3
{
	q3map_baseshader textures/warehouse/terrain_base
	surfaceparm grasssteps
	surfaceparm landmine
	{
		map textures/temperate_sd/grass_path1.tga
		tcMod scale 1.125 1.125
	}
	{
		map textures/temperate_sd/master_grass_dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_2to4
{
	q3map_baseshader textures/warehouse/terrain_base
	surfaceparm grasssteps
	surfaceparm landmine
	{
		map textures/temperate_sd/grass_path1.tga
		tcMod scale 1.125 1.125
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/warehouse/terrain_3to4
{
	q3map_baseshader textures/warehouse/terrain_base
	surfaceparm grasssteps
	surfaceparm landmine
	{
		map textures/temperate_sd/master_grass_dirt3.tga
		tcMod scale 1.125 1.125
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 1.125 1.125
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}





textures/warehouse/sewer_water
{
	qer_editorimage textures/warehouse/sewer_water.tga
	qer_trans .5
	q3map_globaltexture
	cull disable
	nocompress
	nofog
	surfaceparm nomarks
	surfaceparm nonsolid
	//surfaceparm trans
	surfaceparm water
	waterfogvars ( 0.11 0.13 0.15 ) 0.2
	nopicmip
	{
		map textures/warehouse/sewer_water.tga
		blendFunc blend
		alphaFunc GE128
		rgbgen identity
		tcmod scale 0.5 0.5
		tcmod scroll -.002 .001
		fog on
	}
	{
		map textures/liquids_sd/seawall_ripple1.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin 0.3 0.02 0 0.25
		tcmod scale 0.01 0.01
		tcmod scroll -.001 -.0002
		fog on
	}
	
	
}
//==================================
//Misc
//==================================

textures/warehouse/carpet_office
{
	surfaceparm carpetsteps
	implicitMap -
}

