textures/ctwdm1/flare_white
{
	qer_editorimage textures/ctwdm1/flare_white.tga
	surfaceparm trans
	surfaceparm nomarks
    	surfaceparm nonsolid
	surfaceparm nolightmap
	qer_trans 0.5
	cull none
	deformVertexes autosprite
	//nopicmip
	{
		map textures/ctwdm1/flare_white.tga
		blendfunc gl_one gl_one_minus_src_color
		rgbGen identity
	}
}

//FENCE

//FENCE

textures/ctwdm1/fence
{
	qer_editorimage textures/ctwdm1/fence.tga
	surfaceparm trans		
	cull none
	surfaceparm nomarks
	surfaceparm	nonsolid
    nopicmip

	{
		map textures/ctwdm1/fence.tga
		tcMod scale 3 3
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

//DECALS

textures/ctwdm1/aecell_decal_spawn1
{
	qer_editorimage textures/ctwdm1/aecell_decal_spawn1.tga
	qer_trans 0.99
	surfaceparm nodamage
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm trans
	polygonoffset
	{
		clampmap textures/ctwdm1/aecell_decal_spawn1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen Vertex
	}
}

textures/ctwdm1/aecell_pads_item
{
	qer_editorimage textures/ctwdm1/aecell_pads_item.tga
	qer_trans 0.99
	surfaceparm nodamage
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm trans
	polygonoffset
	q3map_backsplash 0 0
	q3map_surfacelight 400
	q3map_lightsubdivide 128
	{
		clampmap textures/ctwdm1/aecell_pads_item.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen Vertex
		tcMod rotate 45
	}
}

textures/ctwdm1/lamp_white_10k
{
	qer_editorimage textures/ctwdm1/lamp_white.tga
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm noimpact
	surfaceparm nomarks
	q3map_surfacelight 10000
	nopicmip
	forceoverlays
	{
		map textures/ctwdm1/lamp_white.tga
	}
}

//GRAFFITI

textures/ctwdm1/graffiti_01
{
   noPicMip
   polygonOffset
   surfaceparm nonsolid
   surfaceparm nomarks
   {
      map textures/ctwdm1/graffiti_01.tga
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
   }
}