textures/cptnt_mitchelldown/light_tp_m07
{
	qer_editorimage textures/cptnt_mitchelldown/light_tp_m07.tga
	q3map_surfacelight 6000
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/cptnt_mitchelldown/light_tp_m07.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/cptnt_mitchelldown/light_tp_m2.blend.tga
		blendFunc GL_ONE GL_ONE
	}
}

textures/cptnt_mitchelldown/doom_water
{
	qer_editorimage textures/cptnt_mitchelldown/pool3d_3.jpg
	qer_trans .5
	cull disable
	//nofog
	surfaceparm water
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm trans
	tesssize 512
	waterfogvars ( 0.1 0.1 0.1 ) 512
	{
		map textures/cptnt_mitchelldown/ocean_m1.jpg
		rgbgen wave sin .4 0 0 .5
		tcmod scale .2 .1
		tcmod scroll .03 .02
		fog on
	}
	{
		map textures/cptnt_mitchelldown/ocean_m1.jpg
		blendFunc GL_src_alpha GL_ONE
		alphagen const .5
		tcmod scale .2 .2
		tcmod scroll -.03 -.02
	}
}

textures/cptnt_michelldown/light_m01b
{
	qer_editorimage textures/lights/light_m01b.tga
	q3map_lightimage textures/lightimage/blue.tga
	q3map_lightsubdivide 128
	q3map_surfacelight 5000
	
	polygonOffset
	surfaceparm nomarks
	surfaceparm pointlight
	{
		map textures/lights/light_m01b.tga
		rgbGen vertex
	}
	{
		map textures/lights/light_m01b.blend.tga
		blendfunc GL_ONE GL_ONE
		rgbGen identity
	}
}

textures/cptnt_mitchelldown/basic_grass
{
	qer_editorimage textures/temperate_sd/grass_dense1.tga
      surfaceparm landmine
      surfaceparm gravelsteps
	implicitMap textures/temperate_sd/grass_dense1.tga
}

textures/cptnt_mitchelldown/basic_dirt
{
	qer_editorimage textures/temperate_sd/dirt3.tga
      surfaceparm landmine
      surfaceparm gravelsteps
	implicitMap textures/temperate_sd/dirt3.tga
}

textures/cptnt_mitchelldown/basic_grassdirt
{
	qer_editorimage textures/temperate_sd/master_grass_dirt3.tga
      surfaceparm landmine
      surfaceparm gravelsteps
	implicitMap textures/temperate_sd/master_grass_dirt3.tga
}

textures/cptnt_mitchelldown/ter_mossyrock
{
	qer_editorimage textures/cptnt_mitchelldown/ter_mossyrock.jpg
      surfaceparm rocksteps
	implicitMap textures/cptnt_mitchelldown/ter_mossyrock.jpg
}

textures/cptnt_mitchelldown/ter_rock
{
	qer_editorimage textures/cptnt_mitchelldown/ter_rock.jpg
      surfaceparm rocksteps
	implicitMap textures/cptnt_mitchelldown/ter_rock.jpg
}

textures/cptnt_mitchelldown/metal_m05
{
	surfaceparm metalsteps
	implicitMap -
}

textures/cptnt_mitchelldown/diamond_m_02
{
	surfaceparm metalsteps
	implicitMap -
}

textures/cptnt_mitchelldown/door_loper2
{
	surfaceparm metalsteps
	implicitMap -
}

textures/cptnt_mitchelldown/door_m01aaaaswf1
{
	surfaceparm metalsteps
	implicitMap -
}

textures/cptnt_mitchelldown/xpanel_c11
{
	surfaceparm metalsteps
	implicitMap -
}

textures/cptnt_mitchelldown/xpanel_c08a
{
	surfaceparm metalsteps
	implicitMap -
}

textures/cptnt_mitchelldown/bigboxen_1
{
	surfaceparm woodsteps
	implicitMap -
}

textures/cptnt_mitchelldown/bigboxen_2
{
	surfaceparm woodsteps
	implicitMap -
}

textures/cptnt_mitchelldown/wood_m09_usat
{
	surfaceparm woodsteps
	implicitMap -
}

textures/cptnt_mitchelldown/board_cl01
{
	surfaceparm woodsteps
	implicitMap -
}

textures/cptnt_mitchelldown/picture_c01
{
	surfaceparm woodsteps
	implicitMap -
}

textures/cptnt_mitchelldown/store_c03_a
{
	surfaceparm woodsteps
	implicitMap -
}

textures/cptnt_mitchelldown/store_c04_a2_2
{
	surfaceparm woodsteps
	implicitMap -
}

textures/cptnt_mitchelldown/number11_c02
{
	surfaceparm woodsteps
	implicitMap -
}

textures/cptnt_mitchelldown/fence_c10b
{
	qer_trans 0.85
	qer_editorimage textures/cptnt_mitchelldown/fence_c10b.tga
	cull disable
	nomipmaps
	nopicmip

	surfaceparm clipmissile
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm playerclip
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans

	implicitMask textures/cptnt_mitchelldown/fence_c10b.tga
}

textures/cptnt_mitchelldown/ivy_c01
{
	qer_trans 0.85
	qer_editorimage textures/cptnt_mitchelldown/ivy_c01.tga
	cull disable
	nomipmaps
	nopicmip

	surfaceparm clipmissile
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm playerclip
	surfaceparm woodsteps
	surfaceparm pointlight
	surfaceparm trans

	implicitMask textures/cptnt_mitchelldown/ivy_c01.tga
}

textures/cptnt_mitchelldown/cathedrale_c02
{
	qer_editorimage textures/cptnt_mitchelldown/cathedrale_c02.tga
	// surfaceparm nomarks
	// q3map_lightimage textures/cptnt_mitchelldown/cathedrale_c02.tga
	q3map_surfacelight 200
	light 1

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/cptnt_mitchelldown/cathedrale_c02.tga
		blendFunc GL_DST_COLOR GL_ZERO	
		rgbGen identity
	}
	{
		map textures/cptnt_mitchelldown/cathedrale_c02.blend.tga
		blendfunc GL_ONE GL_ONE
	
	}
}

textures/cptnt_mitchelldown/flags_m1
{
	polygonOffset
	entityMergable
	{
		map textures/cptnt_mitchelldown/flags_m1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
		alphaGen vertex
	}
}

textures/cptnt_mitchelldown/sky
{
	qer_editorimage textures/cptnt_mitchelldown/env/sky_bk.tga	
	
	// light values tuned for -gamma 2 -compensate 4
	q3map_sun 0.3 0.3 0.45 60 35 45
	q3map_skylight 65 3
	surfaceparm sky
	surfaceparm noimpact
	surfaceparm nolightmap
	skyparms textures/cptnt_baserace/env/sky 1337 -
	nopicmip
	{
		map textures/cptnt_mitchelldown/sky_mask.tga
		blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
		tcMod transform 0.25 0 0 0.5 0.6 0.3
		rgbGen identityLighting
	}
}

textures/cptnt_mitchelldown/cathedrale_c17
{
	qer_editorimage textures/cptnt_mitchelldown/cathedrale_c17.tga
	// surfaceparm nomarks
	// q3map_lightimage textures/cptnt_mitchelldown/cathedrale_c17.tga
	q3map_surfacelight 200
	light 1


	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/cptnt_mitchelldown/cathedrale_c17.tga
		blendFunc GL_DST_COLOR GL_ZERO	
		rgbGen identity
	}
	{
		map textures/cptnt_mitchelldown/cathedrale_c17.BLEND.tga
		blendfunc GL_ONE GL_ONE
	
	}
}

textures/cptnt_mitchelldown/cathedrale_c17_nolight
{
	qer_editorimage textures/cptnt_mitchelldown/cathedrale_c17.tga
	// surfaceparm nomarks
	// q3map_lightimage textures/cptnt_mitchelldown/cathedrale_c17.tga


	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/cptnt_mitchelldown/cathedrale_c17.tga
		blendFunc GL_DST_COLOR GL_ZERO	
		rgbGen identity
	}
	{
		map textures/cptnt_mitchelldown/cathedrale_c17.BLEND.tga
		blendfunc GL_ONE GL_ONE
	
	}
}

textures/cptnt_mitchelldown/fog
{
	qer_editorimage textures/sfx/fog_grey1.tga
	
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm fog
	
	fogparms ( 0.09411 0.09803 0.12549 ) 2400
}
