levelshots/tc_base_cc_automap
{
	nopicmip
	nocompress
	nomipmaps
	{
		clampmap levelshots/tc_base_cc.tga
		depthFunc equal
		rgbGen identity
	}
}

levelshots/tc_base_cc_trans
{
	nopicmip
	nocompress
	nomipmaps
	{
		clampmap levelshots/tc_base_cc.tga
		blendfunc blend
		rgbGen identity
		alphaGen vertex
	}
}

//
// SHADER: textures/tc_base/fence_m02
//
textures/tc_base/fence_m02
{
   surfaceparm metalsteps
   surfaceparm nomarks
   nomipmaps
   nopicmip
   cull disable
   {
      map textures/tc_base/fence_m02.tga
      alphaFunc GE128
      depthWrite
      rgbGen vertex
   }
}
//
// SHADER: textures/tc_base/drain
//
textures/tc_base/drain
{
   polygonOffset
   entityMergable
   {
      map textures/tc_base/drain.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
      rgbGen vertex
      alphaGen vertex
   }
}
//
// SHADER: textures/tc_base/three
//
textures/tc_base/three
{
   polygonOffset
   entityMergable
   {
      map textures/tc_base/three.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
      rgbGen vertex
      alphaGen vertex
   }
}
//
// SHADER: textures/tc_base/one
//
textures/tc_base/one
{
   polygonOffset
   entityMergable
   {
      map textures/tc_base/one.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
      rgbGen vertex
      alphaGen vertex
   }
}
//
// SHADER: textures/tc_base/two
//
textures/tc_base/two
{
   polygonOffset
   entityMergable
   {
      map textures/tc_base/two.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
      rgbGen vertex
      alphaGen vertex
   }
}
//
// SHADER: textures/tc_base/water_calm2
//
textures/tc_base/water_calm2
{
	qer_editorimage textures/liquids_sd/siwa_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/liquids_sd/siwa_water.tga
		blendFunc blend
		alphaFunc GE128
		rgbgen identity
		tcmod scale 0.5 0.5
		tcmod scroll -.02 .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
	}
//	{
//		map textures/liquids_sd/seawall_ripple1.tga
//		blendFunc GL_ONE GL_ONE
//		rgbGen wave sin 0.1 0.03 0 0.4
//		tcmod scale 1 1
//		tcmod scroll -.005 -.001
//		fog on
//	}
//	{
//		map textures/liquids_sd/siwa_shimshim1.tga
//		blendFunc GL_ONE GL_ONE
//		rgbGen wave sin 0.4 0.02 0 0.3
//		tcmod transform 0 1.5 1 1.5 2 1
//		tcmod scroll .005 -.001
//		fog on
//	}
}

//{
//   qer_editorimage textures/tc_base/pool3d_3c.jpg
//   qer_trans .5
//   q3map_globaltexture
//   surfaceparm trans
//   surfaceparm nonsolid
//   surfaceparm water
//   nofog
//   cull disable
//   {
//      fog on
//      map textures/tc_base/pool3d_5c.jpg
//      blendFunc GL_dst_color GL_one
//      rgbgen identity
//      tcmod scale .5 .5
//      tcmod transform 1.5 0 1.5 1 1 2
//      tcmod scroll -.05 .001
//   }
//   {
//      fog on
//      map textures/tc_base/pool3d_6c.jpg
//      blendFunc GL_dst_color GL_one
//      rgbgen identity
//      tcmod scale .5 .5
//      tcmod transform 0 1.5 1 1.5 2 1
//      tcmod scroll .025 -.001
//   }
//   {
//      map textures/tc_base/pool3d_3c.jpg
//      blendFunc GL_dst_color GL_one
//      rgbgen identity
//      tcmod scale .25 .5
//      tcmod scroll .001 .025
//   }
//   {
//      map $lightmap
//      blendFunc GL_dst_color GL_zero
//      rgbgen identity
//   }
//}

//
// SHADER: textures/tc_base/safetyglass
//
textures/tc_base/safetyglass
{
   qer_editorimage textures/common/s_glass.tga
   surfaceparm alphashadow
   surfaceparm glass
   surfaceparm trans
   qer_trans  0.5
   surfaceparm trans
   {
      map textures/common/s_glass.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
      rgbGen vertex
   }
}
//
// SHADER: textures/tc_base/flags_m1_snow
//
textures/tc_base/flags_m1_snow
{
   surfaceparm nolightmap 
   surfaceparm trans 
   surfaceparm alphashadow
   deformVertexes wave 10 sin 0 2 0 .2
   cull twosided
   {
      map textures/tc_base/flags_m1_snow.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
      rgbGen vertex
   }
}
//
// SHADER: textures/tc_base/flags_m1_snowtad
//
textures/tc_base/flags_m1_snowtad
{
   surfaceparm alphashadow
   qer_trans 0.90
   deformVertexes wave 10 sin 0 2 0 .2
   cull twosided
   {
      map textures/tc_base/flags_m1_snowtad.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
      rgbGen vertex
   }
}
//
// SHADER: textures/tc_base/xmetal_m02
//
textures/tc_base/xmetal_m02
{
   surfaceparm metalsteps
   {
      map textures/tc_base/xmetal_m02.jpg
      blendFunc GL_ONE GL_ZERO
      rgbGen identity
   }
   {
      map textures/effects/tinfx.tga
      blendFunc GL_ONE_MINUS_DST_ALPHA GL_ONE
      tcMod Scale 1.2 1.2
      tcGen environment
   }
   {
      map $lightmap
      blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
      rgbGen identity
   }
}
//
// SHADER: textures/tc_base/wood_c01
//
textures/tc_base/wood_c01
{
   surfaceparm woodsteps
   {
      map $lightmap
      rgbGen identity
   }
   {
      map textures/town_wood/wood_c01.tga
      blendFunc GL_DST_COLOR GL_ZERO
      rgbGen identity
   }
}
//
// SHADER: textures/tc_base/miltary_m01
//
textures/tc_base/miltary_m01
{
   surfaceparm woodsteps
   {
      map $lightmap
      rgbGen identity
   }
   {
      map textures/tc_base/miltary_m01.jpg
      blendFunc GL_DST_COLOR GL_ZERO
      rgbGen identity
   }
}
//
// SHADER: textures/tc_base/xwall_c07
//
textures/tc_base/xwall_c07
{
   surfaceparm metalsteps
   {
      map $lightmap
      rgbGen identity
   }
   {
      map textures/tc_base/xwall_c07.jpg
      blendFunc GL_DST_COLOR GL_ZERO
      rgbGen identity
   }
}
//
// SHADER: textures/tc_base/mdoor_m01
//
textures/tc_base/mdoor_m01
{
   surfaceparm metalsteps
   {
      map $lightmap
      rgbGen identity
   }
   {
      map textures/tc_base/mdoor_m01.jpg
      blendFunc GL_DST_COLOR GL_ZERO
      rgbGen identity
   }
}

textures/tc_base/dirt_m03i
{
	qer_editorimage textures/terrain/dirt_m03i.jpg
	surfaceparm landmine
	{
		map textures/terrain/dirt_m03i.jpg
		rgbgen identity
	}
	{
		lightmap $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbgen identity
	}
//	{
//		map textures/detail_sd/snowdetail.tga
//		blendFunc GL_DST_COLOR GL_SRC_COLOR
//		rgbgen identity
//		tcMod scale 1 1
//		detail
//	}
}

textures/tc_base/dirt_m03icmp_brown
{
	qer_editorimage textures/temperate_sd/dirt_m03icmp_brown.jpg
	surfaceparm landmine
	implicitMap textures/temperate_sd/dirt_m03icmp_brown.jpg
}

textures/tc_base/dirt_m04cmp_brown
{
	qer_editorimage textures/temperate_sd/dirt_m04cmp_brown.jpg
	surfaceparm landmine
	implicitMap textures/temperate_sd/dirt_m04cmp_brown.jpg
}

textures/tc_base/grass_ml03cmp
{
	qer_editorimage textures/tc_base/grass_ml03cmp.jpg
	surfaceparm landmine
	implicitMap textures/tc_base/grass_ml03cmp.jpg
}
