// deprivako

textures/axr_const/floor1
{
qer_editorimage textures/axr_const/floor1

	surfaceparm	metalsteps	
	surfaceparm trans	
	surfaceparm alphashadow
                surfaceparm nomarks	
	
             {
		map textures/axr_const/floor1.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


// models
models/zih_roof/resina
{

	{
	 map models/zih_roof/resina.jpg
	 tcmod scroll 0 .5
	rgbgen vertex
	}

}

models/zih_roof/sentinel
{
cull none

   	{
		map models/zih_roof/sentinel.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen vertex
	}

//	{
//		map $lightmap
//		rgbGen identity
//		blendFunc GL_DST_COLOR GL_ZERO
//		depthFunc equal
//	}



}

models/zih_roof/hugelamp
{

	{
	 map models/zih_roof/hugelamp.jpg
	 //rgbgen wave sin .9 1 0 .5

	blendFunc	GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	alphaGen	wave sin .5 .25 0 .5
	}

}
models/zih_roof/lampflare
{
deformVertexes autoSprite
cull none
	q3map_lightimage  textures/axr_fx/noalpha.tga
        {
         	map  models/zih_roof/lampflare.jpg
                blendFunc GL_ONE GL_ONE	
                tcMod rotate 20             

                
        }
}

textures/zih_roof/sky
{
	surfaceparm sky
	surfaceparm noimpact
	surfaceparm nolightmap

q3map_surfacelight 150
q3map_sun   .6 .6 .5  60  45 45      

qer_editorimage textures/zih_roof/zihr_up.jpg  
q3map_lightimage textures/zih_roof/zihr_up.jpg  
skyparms     textures/zih_roof/zihr - -  

}

textures/zih_roof/lift_wall
{
q3map_surfacelight 50
qer_editorimage  textures/zih_roof/lift_wall.jpg
q3map_lightimage  textures/zih_roof/lift_wall_mask.jpg

	{
		map $lightmap
	}

	{
		map textures/zih_roof/lift_wall_mask.jpg
		blendFunc GL_ONE GL_ONE
	}

	{
		map textures/zih_roof/lift_wall.jpg
		blendFunc GL_DST_COLOR GL_ZERO
	}

}

textures/zih_roof/smallflat
{
q3map_surfacelight 50

	{
		map $lightmap
	}
	{
		map textures/zih_roof/smallflat_mask.jpg
		blendfunc GL_ONE GL_ONE
	}
	{
		map textures/zih_roof/smallflat.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen wave sin .9 .1 0 1
	}
}

textures/zih_roof/bigflat
{
q3map_surfacelight 400

	{
		map $lightmap
	}
	{
		map textures/zih_roof/bigflat_mask.jpg
		blendfunc GL_ONE GL_ONE
	}
	{
		map textures/zih_roof/bigflat.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen wave sin .9 .1 0 1
	}
}

textures/zih_roof/glass_lampsmallflat
{
q3map_surfacelight 400

	{
		map $lightmap
	}
	{
		map textures/zih_roof/glass_lampsmallflat_mask.jpg
		blendfunc GL_ONE GL_ONE
	}
	{
		map textures/zih_roof/glass_lampsmallflat.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen wave sin .9 .1 0 1
	}
}




textures/zih_roof/advert
{
q3map_surfacelight 100
	{
		map textures/zih_roof/advert.jpg
		//blendFunc GL_ONE GL_ONE
		//rgbGen wave sin .9 .1 0 1

		//blendfunc  GL_SRC_ALPHA  GL_ONE_MINUS_SRC_ALPHA
		//alphaGen	wave sin .5  .1  0  .5
	}

}

textures/zih_roof/elevator_cabin3
{
q3map_surfacelight 200
qer_editorimage  textures/zih_roof/elevator_cabin3.jpg
q3map_lightimage  textures/zih_roof/elevator_cabin3mask.jpg

	{
		map $lightmap
	}

	{
		map textures/zih_roof/elevator_cabin3mask.jpg
		blendFunc GL_ONE GL_ONE
	}

	{
		map textures/zih_roof/elevator_cabin3.jpg
		blendFunc GL_DST_COLOR GL_ZERO
	}

}

textures/zih_roof/pool
	{
		qer_editorimage textures/zih_roof/pooltex.jpg
		q3map_globaltexture
		qer_trans .5

		surfaceparm noimpact
		surfaceparm water
		surfaceparm nolightmap
		surfaceparm nonsolid
		surfaceparm trans		
		tessSize 32
		cull disable
		deformVertexes wave 50 sin 0 1 .5 .5

		//surfaceparm fog		
		//fogparms .6 .5 .6  160 160
		//q3map_surfacelight 10


		

		//{
			//map textures/zih_roof/water_ref_add.jpg
			//tcMod  scale .4 .4
			//tcMod turb .3 .1 1 .05
			//blendFunc GL_ONE GL_ONE			

			//blendFunc GL_DST_COLOR GL_ZERO
			//blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
			//AlphaGen wave sin  .5   .1  0  .3 
//		}
		{
			map textures/zih_roof/liq_urina.jpg
			tcMod  scale .3 .3
			blendFunc GL_DST_COLOR GL_ZERO
			tcMod turb .1 .1 0  .05
			rgbgen wave sin .7 .01  0  .1
			//AlphaGen wave sin  .4   .0.5  0  .3 
		}

		{
			map textures/zih_roof/liq_urina.jpg
			tcMod  scale .3 .3
			tcMod turb .2 .2 0  .05
			blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
			AlphaGen wave sin  .15   .01  .5  .3 
		}


}


textures/zih_roof/pool_old
	{
		qer_editorimage textures/zih_roof/pooltex.jpg
		q3map_globaltexture
		qer_trans .5

		surfaceparm noimpact
		surfaceparm water
		surfaceparm nolightmap
		surfaceparm nonsolid
		surfaceparm trans		
		tessSize 32
		cull disable
		deformVertexes wave 50 sin 0 1 .5 .5


		//fogparms .6 .5 .6  160 160
		//q3map_surfacelight 10


		{
			map textures/zih_roof/pooltex.jpg
			tcMod  scale .5 .5
			tcMod turb .3 .1 1 .05
			blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
			AlphaGen wave sin  .7   .1  0  .3 
		}



}


textures/zih_roof/elevator_sign
{
surfaceparm nolightmap
	{
		 map textures/zih_roof/elevator_sign.jpg
		 tcmod scroll 0 .3
		rgbgen wave sin .95 .05 0 2
	}

	{
		 map textures/zih_roof/elevator_sign_mask.jpg
		blendFunc GL_DST_COLOR GL_ZERO

	}


}


textures/zih_roof/gigrate_window
{
//surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm alphashadow
surfaceparm nomarks
surfaceparm metalsteps
surfaceparm trans
surfaceparm playerclip

   {
		map textures/zih_roof/gigrate_window.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}


//	{
//	map  textures/zih_roof/gigrate_winglass.tga
//	blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
//	tcmod scale .5 .5
//	rgbgen vertex
//		depthFunc greater
//	}

}


textures/zih_roof/bigcopsteptrans
{

	surfaceparm	metalsteps	
	surfaceparm trans	
	surfaceparm alphashadow
                surfaceparm nomarks	
             {
		map textures/zih_roof/bigcopsteptrans.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/zih_roof/gigrate
{

	surfaceparm	metalsteps	
	surfaceparm trans	
	surfaceparm alphashadow
                surfaceparm nomarks
	cull none	

             {
		map textures/zih_roof/gigrate.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/zih_roof/wolfconstbig
{
qer_editorimage textures/zih_roof/wolfconstbig.tga

	surfaceparm	metalsteps	
	surfaceparm trans	
	surfaceparm alphashadow
                surfaceparm nomarks	
	cull none
                nopicmip
             {
		map textures/zih_roof/wolfconstbig.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}