textures/raid/carpet_01
{
	surfaceparm carpetsteps
	implicitMap -
}

textures/raid/oldbrick01
{
implicitMap -
}

textures/raid/oldstone01
{
implicitMap -
}

textures/raid/oldstone02
{
implicitMap -
}

textures/raid/oldstone03
{
implicitMap -
}

textures/raid/brickwall
{
implicitMap -
}

textures/raid/surf038M_backg_2
{
implicitMap -
}

textures/raid/wall1
{
	implicitMap -
}

textures/raid/con02
{
	implicitMap -
}

textures/raid/con04
{
	implicitMap -
}


textures/raid/con_wall
{
	implicitMap -
}

textures/raid/wall_stone
{
	implicitMap -
}

textures/raid/oldstone04
{
	implicitMap -
}

textures/raid/con_ground
{
	implicitMap -
}

textures/raid/brick02
{
	implicitMap -
}

textures/raid/door05
{
	implicitMap -
}

textures/raid/church_door
{
	surfaceparm metalsteps
	implicitMap -
}

textures/raid/p_door1
{
	implicitMap -
}


textures/raid/door01
{
	implicitMap -
}

textures/raid/door03
{
	implicitMap -
}

textures/raid/brick01
{
	implicitMap -
}

textures/raid/win3
{
	implicitMap -
}

textures/raid/con03
{
	implicitMap -
}

textures/raid/shutter9
{
	implicitMap -
}

textures/raid/key_sign
{
	implicitMap -
}

textures/raid/library_gate
{
	implicitMap -
}

textures/raid/bridgestone01
{
	implicitMap -
}

textures/raid/oldbrick03
{
	implicitMap -
}

textures/raid/e_coll3
{
	implicitMap -
}

textures/raid/roof_grey
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm roofsteps
}

textures/raid/roof_brown
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm roofsteps
}

textures/raid/roof_metal_01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm roofsteps
}

textures/raid/roof01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm roofsteps
}

textures/raid/window_church
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm glass
}

textures/raid/old_window_03
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm glass
}

textures/raid/window_church_on
{
	qer_editorimage textures/raid/window_church.tga
	q3map_surfacelight 250
	surfaceparm glass
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/raid/window_church.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/raid/window_church_blend.tga
		blendfunc GL_ONE GL_ONE
		rgbGen identity
	}
}

textures/raid/window41_on
{
	qer_editorimage textures/mad_france/window41.tga
	q3map_surfacelight 250
	surfaceparm glass
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/mad_france/window41.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/raid/window41_blend.tga
		blendfunc GL_ONE GL_ONE
		rgbGen identity
	}
}


textures/raid/glass01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm glass
}

textures/raid/angel
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm glass
}

textures/raid/wand07
{
	implicitMap -
}

textures/raid/wallpaper06
{
	implicitMap -
}

textures/raid/roof02
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm roofsteps
}

textures/raid/roof_red
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm roofsteps
}

textures/raid/roof_01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm roofsteps
}

textures/raid/roof_dust
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm roofsteps
}

textures/raid/roof_stones_old
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
	surfaceparm roofsteps
}


textures/raid/wood05
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/wood02
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/wood03
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/wood04
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/wood01
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/woodcrateold01
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/woodcrateold02
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/floor_sof
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/hotel_sign
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/wallpaper21
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/shutter01
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/poster01
{
	implicitMap -
}

textures/raid/trim
{
	implicitMap -
}

textures/raid/f_r_house
{
	implicitMap -
}

textures/raid/river_house
{
	implicitMap -
}

textures/raid/yhouse
{
	implicitMap -
}

textures/raid/floor_concrete_01
{
	implicitMap -
}

textures/raid/con06
{
	implicitMap -
}

textures/raid/oldstone05
{
	implicitMap -
}

textures/raid/mt_floor2
{
	implicitMap -
}

textures/raid/loamwall
{
	implicitMap -
}

textures/raid/dr_poster4
{
	implicitMap -
}

textures/raid/wall02
{
	implicitMap -
}

textures/raid/wallpaper01
{
	implicitMap -
}

textures/raid/wall02
{
	implicitMap -
}

textures/raid/window_27
{
	surfaceparm glass
	implicitMap -	
}

textures/raid/window09
{
	surfaceparm glass
	implicitMap -	
}

textures/raid/mad012
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/mad061
{
	surfaceparm woodsteps
	implicitMap -
}

textures/mad_france/castle01c
{
	implicitMap -
}

textures/raid/wood_roof
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/p_win3
{
	surfaceparm glass
	implicitMap -
}

textures/mad_france/window41
{
	surfaceparm glass
	implicitMap -
}

textures/raid/wallpaper05
{
	surfaceparm woodsteps
	implicitMap -
}

textures/mad_france/wood_floor_01
{
	surfaceparm woodsteps
	implicitMap -
}

textures/raid/cwall
{
	implicitMap -
}

textures/raid/window_gitter
{
    qer_editorimage textures/raid/window_gitter.jpg
	surfaceparm glass
	implicitMap -	
}

textures/raid/window_gitter
{
    qer_editorimage textures/raid/window_factory_dark
	surfaceparm glass
	implicitMap -	
}

	textures/raid/window_gitter_light
{
	qer_editorimage textures/raid/window_gitter_light.tga
	q3map_lightimage textures/raid/window_gitter_blend.tga
	q3map_surfacelight 2800
	surfaceparm glass
	polygonOffset
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/raid/window_gitter_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/raid/window_gitter_blend.tga
		blendfunc GL_ONE GL_ONE
	}
}

textures/raid/water
{
	nocompress
	nopicmip
	qer_editorimage textures/raid/water.tga
	qer_trans .5
	q3map_globaltexture
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	surfaceparm nomarks
	cull disable
	deformVertexes wave 512 sin 0.5 0.5 0.75 0.2
	//waterfogvars ( 0.6 0.7 0.8 ) 1000
	
	{
		fog on
		map textures/raid/water.tga
		blendFunc add
		tcGen vector ( 0.00045 0 0 ) ( 0 0.00045 0 )
		tcmod turb 0.04 0.02 0 0.05
	}

	{
		map $lightmap
		blendFunc filter
		rgbGen identity
		alphaGen vertex
	}
}

textures/raid/dirt_blend
{
  qer_trans 0.85
  qer_editorimage textures/raid/dirt_blend.tga
	polygonOffset
	entityMergable
	surfaceparm nonsolid
	surfaceparm nomarks
	nopicmip
	{
		map textures/raid/dirt_blend.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
		alphaGen vertex
	}
}

textures/raid/clothes
{
	qer_trans 0.85
	qer_editorimage textures/raid/clothes.tga
	cull disable
	sort 6
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm nonsolid

	implicitMask textures/raid/clothes.tga
}

textures/raid/plant_01
{
	qer_trans 0.85
	qer_editorimage textures/raid/plant_01.tga
	cull disable
	sort 6
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm nonsolid

	implicitMask textures/raid/plant_01.tga
}

textures/raid/rose_01
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

textures/raid/rose_02
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

textures/raid/sand
{ 
   qer_editorimage textures/raid/sand.jpg  
   q3map_lightmapsampleoffset 16 
   q3map_lightmapmergable 
   q3map_shadeangle 170
   q3map_nonplanar 
   q3map_forcemeta 
   q3map_tcgen ivector ( 256 0 0 ) ( 0 256 0 )
   surfaceparm landmine 
   surfaceparm grasssteps 
   { 
      map textures/raid/sand.jpg 
   } 
   { 
       map $lightmap 
       blendFunc GL_DST_COLOR GL_ZERO
       rgbGen identity 
   } 
}

textures/raid/tex_115

{

qer_editorimage textures/raid/tex_115c.tga

q3map_lightmapsamplesize 1

q3map_normalimage textures/raid/tex_115b.tga

{

map $lightmap

}

{

map textures/raid/tex_115.tga

blendFunc GL_DST_COLOR GL_ZERO

}

}


textures/raid/tex_253

{

qer_editorimage textures/raid/tex_253c.tga

q3map_lightmapsamplesize 1

q3map_normalimage textures/raid/tex_253b.tga

{

map $lightmap

}

{

map textures/raid/tex_253.tga

blendFunc GL_DST_COLOR GL_ZERO

}

}

textures/raid/gate01
{
	qer_editorimage textures/raid/gate01.tga
	surfaceparm metal
	surfaceparm alphashadow
	surfaceparm playerclip
	surfaceparm monsterclip
	surfaceparm nonsolid
	cull none
	nopicmip
	{
		map textures/raid/gate01.tga
		alphaFunc GE128
	}
}

textures/raid/italienposter04
{
	qer_editorimage textures/raid/italienposter04
	qer_trans .5
	polygonOffset
	sort 6
	surfaceparm pointlight
	implicitBlend textures/raid/italienposter04
}

textures/raid/italienposter02
{
	qer_editorimage textures/raid/italienposter02
	qer_trans .5
	polygonOffset
	sort 6
	surfaceparm pointlight
	implicitBlend textures/raid/italienposter02
}



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

textures/raid/cobb1
{
	q3map_baseshader textures/raid/base
	qer_editorimage textures/raid/r_cobb01_editor.tga
	{
		map textures/raid/r_cobb01.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/raid/cobb2
{
	q3map_baseshader textures/raid/base
	qer_editorimage textures/raid/r_cobb02_editor.tga
	{
		map textures/raid/r_cobb02.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/raid/cobb2_2_grass_editor //
{
	q3map_baseshader textures/raid/base
	qer_editorimage textures/raid/cobb2_2_grass_editor.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/raid/r_cobb02.tga
		rgbGen identity
	}
	{
		map textures/raid/raid_grass.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/raid/raid_grass
{
	q3map_baseshader textures/raid/base
	qer_editorimage textures/raid/raid_grass_editor.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/raid/raid_grass.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/raid/r_cobb02
{
	q3map_baseshader textures/raid/base
	{
		map textures/raid/r_cobb02.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/raid/cobb1_2_grass_editor
{
	q3map_baseshader textures/raid/base
	qer_editorimage textures/raid/cobb1_2_grass_editor.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/raid/r_cobb01.tga
		rgbGen identity
	}
	{
		map textures/raid/raid_grass.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/raid/door02_on
{
	qer_editorimage textures/raid/door02.tga
	q3map_surfacelight 200
	surfaceparm woodsteps
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/raid/door02.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/raid/door02_blend.tga
		blendfunc GL_ONE GL_ONE
		rgbGen identity
	}
}

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

textures/raid/pwin2_on
{
	qer_editorimage textures/raid/p_win2.tga
	q3map_surfacelight 1000
	surfaceparm woodsteps
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/raid/p_win2.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/raid/p_win2.tga
		blendfunc GL_ONE GL_ONE
		rgbGen identity
	}
}

textures/raid/window_02
{
  qer_trans 0.85
  qer_editorimage textures/raid/window_02.tga
	polygonOffset
	entityMergable
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm glass
	nopicmip
	{
		map textures/raid/window_02.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
		alphaGen vertex
	}
}
