textures/sainttourney4/sky
{
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm sky
	q3map_sunExt 105 91 66 160 280 50 3 16
	q3map_skyLight 64 3
	qer_editorimage textures/skies/inteldimredclouds.tga
	skyparms - 512 -
	{
		map textures/skies/inteldimclouds.tga
		tcMod scale 3 2
		tcMod scroll 0.15 0.15
		depthWrite
	}
	{
		map textures/skies/intelredclouds.tga
		blendFunc GL_ONE GL_ONE
		tcMod scale 3 3
		tcMod scroll 0.05 0.05
	}
}

textures/sainttourney4/fog
{
	qer_editorimage textures/sfx/fog_grey.tga
	surfaceparm	trans
	surfaceparm	nonsolid
	surfaceparm	fog
	surfaceparm	nolightmap

	fogparms ( .322 .344 .248 ) 896
}

textures/sainttourney4/stairtop1
{
   q3map_normalimage textures/sainttourney4/stairtop1_local.tga
   q3map_lightmapsamplesize 1x1
   
   {
      map $lightmap
      rgbGen identity
   }
   {
      map textures/sainttourney4/stairtop1.tga
      rgbGen identity
      blendFunc GL_DST_COLOR GL_ZERO
   }
}

textures/sainttourney4/panel
{
   q3map_normalimage textures/sainttourney4/panel_local.tga
   q3map_lightmapsamplesize 1x1
   
   {
      map $lightmap
      rgbGen identity
   }
   {
      map textures/sainttourney4/panel.tga
      rgbGen identity
      blendFunc GL_DST_COLOR GL_ZERO
   }
}


textures/sainttourney4/brick
{
   q3map_normalimage textures/sainttourney4/brick_local.tga
   q3map_lightmapsamplesize 1x1
   
   {
      map $lightmap
      rgbGen identity
   }
   {
      map textures/sainttourney4/brick.tga
      rgbGen identity
      blendFunc GL_DST_COLOR GL_ZERO
   }
}


textures/sainttourney4/tile
{
   q3map_normalimage textures/sainttourney4/tile_local.tga
   q3map_lightmapsamplesize 1x1
   
   {
      map $lightmap
      rgbGen identity
   }
   {
      map textures/sainttourney4/tile.tga
      rgbGen identity
      blendFunc GL_DST_COLOR GL_ZERO
   }
}

textures/sainttourney4/cement
{
   q3map_normalimage textures/sainttourney4/cement_local.tga
   q3map_lightmapsamplesize 1x1
   
   {
      map $lightmap
      rgbGen identity
   }
   {
      map textures/sainttourney4/cement.tga
      rgbGen identity
      blendFunc GL_DST_COLOR GL_ZERO
   }
}

textures/sainttourney4/cement_ribbed
{
   q3map_normalimage textures/sainttourney4/cement_ribbed_local.tga
   q3map_lightmapsamplesize 1x1
   
   {
      map $lightmap
      rgbGen identity
   }
   {
      map textures/sainttourney4/cement_ribbed.tga
      rgbGen identity
      blendFunc GL_DST_COLOR GL_ZERO
   }
}

textures/sainttourney4/glass1
{
	qer_editorimage textures/sainttourney4/glass1.tga
        surfaceparm trans	
	cull none
	qer_trans 	0.5
     
        {
		map textures/sainttourney4/glass_env.tga
                tcgen environment
		blendFunc GL_ONE GL_ONE
		rgbGen identity
	}
	{
		map textures/sainttourney4/glass1.tga
		blendFunc blend
		rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}
           
}

textures/sainttourney4/sainttourney4water
{

	
	qer_editorimage textures/sainttourney4/sewage.tga
	q3map_globaltexture
	qer_trans .75
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm lava
	surfaceparm nolightmap
	q3map_surfacelight 20

	cull disable
	tesssize 64
	deformVertexes wave 64 sin .5 .5 0 .5
		
	{
		map textures/sainttourney4/sewage.tga
		//blendfunc filter
		tcmod scale .5 .5
		rgbgen identity
		tcmod scroll -.005 .002
	}

	{ 
		map textures/liquids/pool3d_5c2.tga
		blendFunc GL_dst_color GL_zero
		rgbgen identity
		tcmod scale .5 .5
		tcmod transform 1.5 0 1.5 1 1 2
		tcmod scroll -.015 .001
	}
	
	{ 
		map textures/liquids/pool3d_6c2.tga
		blendFunc GL_dst_color GL_zero
		rgbgen identity
		tcmod scale .5 .5
		tcmod transform 0 1.5 1 1.5 2 1
		tcmod scroll -.01 .001
	}

	
		

}

textures/sainttourney4/proto_fence
{
	surfaceparm trans
	surfaceparm alphashadow		
	cull none
        nopicmip

	{
		map textures/sainttourney4/proto_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
	}
}