// // COMMON
// tent.tga
textures/brecourt/tent
{
  qer_trans 0.3
  surfaceparm clipmissile
  surfaceparm nodraw
  surfaceparm nomarks
  surfaceparm trans
}

// caen_hedgerowbackdrop_01.tga
textures/brecourt/caen_hedgerowbackdrop_01
{
	qer_trans 0.85
	qer_editorimage textures/brecourt/caen_hedgerowbackdrop_01.tga
	cull disable
	sort 6
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm nonsolid
	// clampmap textures/brecourt/caen_hedgerowbackdrop_01
	implicitMask textures/brecourt/caen_hedgerowbackdrop_01.tga
	{
	 map textures/brecourt/caen_hedgerowbackdrop_01.tga
	 depthwrite
	 alphaFunc GE128
	 rgbGen vertex
	}
}

// v_woodtrim04.jpg
textures/brecourt/v_woodtrim04.jpg
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm woodsteps
}

// v_woodtrim02.jpg
textures/brecourt/v_woodtrim02.jpg
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm woodsteps
}

// mtl_caen_core_wall_01.jpg
textures/brecourt/mtl_caen_core_wall_01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

// v_stonetrim03.jpg
textures/brecourt/v_stonetrim03
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

// v_fireplace01.jpg
textures/brecourt/v_fireplace01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

// v_grass.jpg
textures/brecourt/v_grass
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm grasssteps
	surfaceparm landmine
}

// v_mud_dirteffect.jpg
textures/brecourt/v_mud_dirteffect
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm gravelsteps
	surfaceparm landmine
}

// mtl_duhoc_plowfield01.jpg
textures/brecourt/mtl_duhoc_plowfield01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm gravelsteps
	surfaceparm landmine
}

// v_wootrim04.jpg
textures/brecourt/v_wootrim04
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm woodsteps
}

// v_wood_floor1.jpg
textures/brecourt/v_wood_floor1
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm woodsteps
}

// v_wood_floor2.jpg
textures/brecourt/v_wood_floor2
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm woodsteps
}

// duhoc_wood_post1.jpg
textures/brecourt/duhoc_wood_post1
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm woodsteps
}

// v_rubble01.jpg
textures/brecourt/v_rubble01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm gravelsteps
}

// v_corefloor02.jpg
textures/brecourt/v_corefloor02
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm woodsteps
}

// v_stonewall03.jpg
textures/brecourt/v_stonewall03
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}


// v_stonewall04.jpg
textures/brecourt/v_stonewall04
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

// v_stonewall11.jpg
textures/brecourt/v_stonewall11
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

// v_corewall01.jpg
textures/brecourt/v_corewall01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

// v_corewall02.jpg
textures/brecourt/v_corewall02
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

// v_roof01.jpg
textures/brecourt/v_roof01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm roofsteps
}

// v_window01.jpg
textures/brecourt/v_window01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm woodsteps
}

// v_window06.jpg
textures/brecourt/v_window06
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm glass
}

// v_door01.jpg
textures/brecourt/v_door01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm woodsteps
}

// v_column_stonewall02.jpg
textures/brecourt/v_column_stonewall02
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

// v_shutter_01.jpg
textures/brecourt/v_shutter_01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm woodsteps
}

// stalingradwinter_pipe_a.jpg
textures/brecourt/stalingradwinter_pipe_a
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm metalsteps
}

// v_drain03.jpg
textures/brecourt/v_drain03
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm metalsteps
}





// TRANSPARENT
// egypt_desertcamo_netting.tga
textures/brecourt/egypt_desertcamo_netting
{
  qer_trans 0.85
  qer_editorimage textures/brecourt/egypt_desertcamo_netting.tga
  qer_alphafunc greater 0.5
  surfaceparm nomarks
  surfaceparm alphashadow
  surfaceparm pointlight
  surfaceparm trans
  surfaceparm clipmissile
    cull twosided
    nopicmip
    //nomipmaps
    {
        map textures/brecourt/egypt_desertcamo_netting.tga
        alphaFunc GE128
        depthwrite
        rgbGen vertex
    }
}

// v_green_tree_wall.tga
textures/brecourt/v_green_tree_wall
{
  //qer_trans 0.85
  qer_editorimage textures/brecourt/v_green_tree_wall.tga
  qer_alphafunc greater 0.5
  surfaceparm nomarks
  surfaceparm alphashadow
  surfaceparm pointlight
  surfaceparm trans
  surfaceparm nonsolid
    cull twosided
    nopicmip
    //nomipmaps
    {
        map textures/brecourt/v_green_tree_wall.tga
        alphaFunc GE128
        depthwrite
        rgbGen vertex
    }
}

// v_green_single_tree.tga
textures/brecourt/v_green_single_tree
{
  qer_trans 0.85
  qer_editorimage textures/brecourt/v_green_single_tree.tga
  qer_alphafunc greater 0.5
  surfaceparm nomarks
  surfaceparm alphashadow
  surfaceparm pointlight
  surfaceparm trans
  surfaceparm nonsolid
    cull twosided
    nopicmip
    //nomipmaps
    {
        map textures/brecourt/v_green_single_tree.tga
        alphaFunc GE128
        depthwrite
        rgbGen vertex
    }
}

// mtl_duhoc_crater_dark.tga
textures/brecourt/mtl_duhoc_crater_dark
{
  qer_trans 0.85
  qer_editorimage textures/brecourt/mtl_duhoc_crater_dark.tga
  qer_alphafunc greater 0.5
  surfaceparm nomarks
  surfaceparm alphashadow
  surfaceparm pointlight
  surfaceparm trans
  surfaceparm nonsolid
    cull twosided
    nopicmip
    //nomipmaps
    {
        map textures/brecourt/mtl_duhoc_crater_dark.tga
        alphaFunc GE128
        depthwrite
        rgbGen vertex
    }
}

/////////////////////////////////////////////////////////////////////////////////////////////

textures/brecourt/brecourt_editor_mud_grass
{	
	q3map_baseshader textures/brecourt/base
	qer_editorimage textures/brecourt/brecourt_editor_mud_grass.tga


	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/brecourt/v_grass.tga
		rgbGen identity
	}
	{
		map textures/brecourt/v_mud_dirteffect.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}


textures/brecourt/brecourt_editor_plowfield_grass
{	
	q3map_baseshader textures/brecourt/base
	qer_editorimage textures/brecourt/brecourt_editor_plowfield_grass.tga


	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/brecourt/v_grass.tga
		rgbGen identity
	}
	{
		map textures/brecourt/mtl_duhoc_plowfield01.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}


textures/brecourt/brecourt_editor_grass
{
	q3map_baseshader textures/brecourt/base
	qer_editorimage textures/brecourt/brecourt_editor_grass.tga

	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/brecourt/v_grass.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}



textures/brecourt/brecourt_editor_grass_leaves
{
	q3map_baseshader textures/brecourt/base
	qer_editorimage textures/brecourt/brecourt_editor_grass_leaves.tga

	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/brecourt/v_grass.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}



textures/brecourt/brecourt_editor_leaves_grass
{	
	q3map_baseshader textures/brecourt/base
	qer_editorimage textures/brecourt/brecourt_editor_leaves_grass.tga


	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/brecourt/v_grass.tga
		rgbGen identity
	}
	{
		map textures/brecourt/v_grass_leaves.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}




//////////////////////////////////////////////////////////////
// ALPHA
//////////////////////////////////////////////////////////////

textures/brecourt/alpha_brecourt_100
{
	qer_editorimage textures/brecourt/alpha_brecourt_100.tga
	q3map_alphaMod volume
	q3map_alphaMod set 1
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.7
}

textures/brecourt/base
{
	nopicmips
	q3map_lightmapaxis z
	q3map_lightmapmergable
	q3map_nonplanar
	q3map_shadeangle 80	// 135 is also good.. some ppl use lower like 80-90...
	q3map_forcemeta
	//q3map_tcMod rotate 33
	q3map_tcGen ivector ( 1024 0 0 ) ( 0 1024 0 )
}

