textures/trib2/beam_blue_mine
	{
        qer_editorimage textures/sfx/beam_blue4.tga
	surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	q3map_surfacelight 250
        qer_trans .6
	cull none
	{
		map textures/sfx/beam_blue4.tga
		tcMod Scroll 0 1
                blendFunc add
        }
     
}

textures/trib2/beam_green_mine
	{
        qer_editorimage textures/sfx/beam_waterlight.tga
	surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	q3map_surfacelight 250
        qer_trans .6
	cull none
	{
		map textures/sfx/beam_waterlight.tga
		tcMod Scroll 0 1
                blendFunc add
        }
     
}

textures/trib2/beam_red_mine
	{
        qer_editorimage textures/sfx/beam_red.tga
	surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	q3map_surfacelight 250
        qer_trans .6
	cull none
	{
		map textures/sfx/beam_red.tga
		tcMod Scroll 0 1
                blendFunc add
        }
     
}

textures/trib2/beam_purple_mine
	{
        qer_editorimage textures/trib2/beam_purple.tga
	surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	q3map_surfacelight 250
        qer_trans .6
	cull none
	{
		map textures/trib2/beam_purple.tga
		tcMod Scroll 0 1
                blendFunc add
        }
     
}

textures/trib2/cretebase_s
{
	surfaceparm slick

        {
		map textures/trib2/cretebase_s.jpg
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
           
}

textures/trib2/cretebase2_s
{
	surfaceparm slick

        {
		map textures/trib2/cretebase2_s.jpg
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
           
}

textures/trib2/cretebase3_s
{
	surfaceparm slick

        {
		map textures/trib2/cretebase3_s.jpg
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
           
}

textures/trib2/cretebase4_s
{
	surfaceparm slick

        {
		map textures/trib2/cretebase4_s.jpg
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
           
}

//**********************************************************************//
//**********************************************************************//
//									//
//	    -= Shaders for the Geometry Challenge2 map (Mr.LyCon) =-	//
//		i have not written all this shaders my self, 		//
//		and am sorry for those who do not get credit,		//
// 		cuz i cant remember where i got them all!		//
//		   but i have written alot of em myself!		//
//									//
//**********************************************************************//
//**********************************************************************//

textures/trib2/neotechsky
{
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_surfacelight 50
	q3map_sun .5 .6 .8 100 70 60
	q3map_lightimage textures/trib2/clouds_blue_light.tga
	qer_editorimage textures/trib2/clouds_blue.tga
	skyparms - 512 -

	{
		map textures/trib2/clouds_dark.tga
		tcMod scale 3 2
		tcMod scroll 0.15 0.15
		depthWrite
	}
	{
		map textures/trib2/clouds_blue.tga
		blendFunc GL_ONE GL_ONE
		tcMod scale 3 3
		tcMod scroll 0.05 0.05
	}
}

textures/trib2/cyan_glass
{
	qer_trans 0.4
	qer_editorimage textures/trib2/cyan_glass.tga
	q3map_lightimage textures/trib2/cyan_glass.tga	
	surfaceparm alphashadow
	surfaceparm nomarks
	surfaceparm trans
	q3map_surfacelight 100
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
		rgbGen identity
	}
	{
		map textures/trib2/cyan_glass.tga
		blendfunc GL_ONE GL_ONE
		rgbGen wave sin .5 .2 0 0.4
	}
        {
		map textures/effects/tinfx3.tga
		tcGen environment
		blendfunc GL_ONE GL_ONE
        }
}

textures/trib2/glass
{
	qer_trans 0.4
	qer_editorimage textures/trib2/lcn_glass2.tga
	surfaceparm alphashadow
	surfaceparm nomarks
	surfaceparm trans
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
		rgbGen identity
	}
        {
		map textures/trib2/lcn_glass2.tga
		tcGen environment
		blendfunc GL_ONE GL_ONE
        }
}

textures/trib2/portal_fx2
{    
	//cull disable
	qer_trans 0.4
	qer_editorimage textures/trib2/cyan_glass.tga 
	surfaceparm alphashadow
	surfaceparm nomarks
	surfaceparm trans
	{
		map textures/trib2/cyan_glass.tga
		blendfunc GL_ONE GL_ONE
		rgbGen wave sin .5 .2 0 0.4
		//tcmod rotate 175//95 
		tcmod rotate 95 
	}
	{
		map textures/trib2/cyan_glass.tga
		blendFunc add 
		//blendfunc GL_ONE GL_ONE
		tcMod turb 0 .1 0 .06 
		tcmod rotate 65 
		rgbGen wave sin .5 .5 0 .5

	}
}

textures/trib2/neoncoil
{
	cull none
	q3map_lightimage textures/trib2/tesla_neon2.tga	
	qer_editorimage textures/trib2/tesla_coil.tga	
	q3map_surfacelight 150
	{
		map $lightmap
		tcgen environment
		blendfunc filter
	}	
	{
		map textures/trib2/tesla_neon2.tga
		blendfunc add
		rgbgen wave sawtooth 0 1 0 5
		tcmod scale 1 .5
		tcmod turb 0 .1 0 1
		tcMod scroll -1 -1
		//rgbGen wave sin .5 .2 0 0.4
	}	
	{
		map textures/trib2/tesla_neon.tga
		blendfunc add
		rgbgen wave sin 0 .5 0 1
		tcmod scale .5 .5
		tcmod turb 0 .1 0 1
		tcmod rotate 180
		tcmod scroll -1 -1
	}
	{
		map textures/trib2/tesla_coil.tga
		blendfunc blend
	}	
}

textures/trib2/glassfx_lcn
{
	qer_editorimage textures/effects/tinfx3.tga
	qer_trans 0.40
	cull twosided
	//cull none
	surfaceparm alphashadow
	{
		map textures/effects/tinfx3.tga
		blendFunc GL_ONE GL_ONE
		tcgen environment
		rgbGen identity
	}
}

textures/trib2/titan_sky
{
	qer_editorimage env/titan/titan512_up.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_globaltexture
	q3map_lightsubdivide 512
	q3map_surfacelight 100
	q3map_sun 0.998947 1.000000 0.615735 150 280 60
	surfaceparm sky
	skyparms env/titan/titan512 - -
}
textures/trib2/logo
{
	surfaceparm nomarks
	surfaceparm trans
	surfaceparm pointlight
	nopicmip
	{
		map textures/trib2/logo.tga
		blendfunc add
		rgbGen Vertex
	}
}
textures/trib2/neoncoil
{
	cull none
	q3map_lightimage textures/trib2/tesla_neon2.tga	
	qer_editorimage textures/trib2/tesla_coil.tga	
	q3map_surfacelight 250
	{
		map $lightmap
		tcgen environment
		blendfunc filter
	}	
	{
		map textures/trib2/tesla_neon2.tga
		blendfunc add
		rgbgen wave sawtooth 1 3 0 5
		tcmod scale 1 .5
		tcmod turb 0 .1 0 1
		tcMod scroll -1 -1
		//rgbGen wave sin .5 .2 0 0.4
	}	
	{
		map textures/trib2/tesla_neon.tga
		blendfunc add
		rgbgen wave sin 0 .5 0 1
		tcmod scale .5 .5
		tcmod turb 0 .1 0 1
		tcmod rotate 180
		tcmod scroll -1 -1
	}
	{
		map textures/trib2/tesla_coil.tga
		blendfunc blend
	}	
}
textures/trib2/e8spawn01b
{
	qer_editorimage textures/evil8_fx/e8spawn01b.tga
	{
		map textures/trib2/tesla_neon2.tga	
		rgbGen identity
		tcMod turb 0 0.5 0 9.6
		tcMod scale 2 2
		tcMod scroll 9 5
	}
	{
		map textures/evil8_fx/e8spawn01b.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}

}
textures/trib2/e8jumpspawn02b
{
	q3map_lightimage textures/trib2/tesla_neon2.tga
	surfaceparm metalsteps
	surfaceparm nodamage
	q3map_surfacelight 100
	{
		map textures/trib2/tesla_neon2.tga
		rgbGen identity
		tcMod rotate 760
		tcMod turb 0.7 1.1 0.4 .2
	}
	{
		map textures/trib2/tesla_neon.tga
		blendfunc add
		rgbGen identity
		tcMod rotate -460
		tcMod turb 0.4 .4 0.4 .2
	}

	{
		map textures/trib2/e8jumpspawn02b.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
}
textures/trib2/e8xgirder
{
	qer_editorimage textures/evil8_grate/e8xgirder.tga
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	nopicmip
	{
		map textures/evil8_grate/e8xgirder.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
		}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}
textures/trib2/e8xgirder_small
{
	qer_editorimage textures/evil8_grate/e8xgirder_small.tga
	cull disable
	nopicmip
	{
		map textures/evil8_grate/e8xgirder_small.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}
textures/trib2/e8tmtllight
{
	qer_editorimage textures/evil8_lights/e8tmtllight.tga
	q3map_lightimage textures/evil8_lights/e8tmtllight.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 250
	{
		map textures/evil8_lights/e8tmtllight.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/evil8_lights/e8tmtllight.blend.tga
		blendfunc add
	}
}

textures/trib2/e8tmtllight2
{
	qer_editorimage textures/evil8_lights/e8tmtllight2.tga
	q3map_lightimage textures/evil8_lights/e8tmtllight2.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 250
	{
		map textures/evil8_lights/e8tmtllight2.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/evil8_lights/e8tmtllight2.blend.tga
		blendfunc add
	}
}
textures/trib2/glass
{
	qer_editorimage textures/effects/tinfx3.tga
	qer_trans 0.40
	cull none
	surfaceparm trans
	{
		map textures/effects/tinfx3.tga
		blendFunc GL_ONE GL_ONE
		tcgen environment
		rgbGen identity
	}
}
textures/trib2/e8trimlight2_blue
{
	qer_editorimage textures/evil8_trim/e8trimlight2_blue.tga
	surfaceparm nomarks
	q3map_surfacelight 500
	q3map_lightsubdivide 128
	q3map_backsplash 0 0
	{
		map textures/evil8_trim/e8trimlight2_blue.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/evil8_trim/e8trimlight2_blue.blend.tga
		blendfunc add
		tcMod scroll -0.7 0
	}
}

textures/trib2/PinkSky
{
	qer_editorimage textures/trib2/PinkSky.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_surfacelight 50
	q3map_lightsubdivide 512
	q3map_sun	- - - 64	1000 270
	{
		map	textures/trib2/PinkSky.tga
	}
}

//***************************************//
//=======================================//
//    Evil lair's e8textureset shaders   //
//        Copyright (C) Evil lair        //
//=======================================//
//***************************************//
textures/trib2/e8btrimlight
{
	qer_editorimage textures/trib2/e8btrimlight.tga
	q3map_lightimage textures/trib2/e8btrimlight.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 250
	{
		map textures/trib2/e8btrimlight.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8btrimlight.blend.tga
		blendfunc add
	}
}

textures/trib2/e8trimlight
{
	qer_editorimage textures/trib2/e8trimlight.tga
	q3map_lightimage textures/trib2/e8trimlight.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 250
	{
		map textures/trib2/e8trimlight.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8trimlight.blend.tga
		blendfunc add
	}
}

textures/evil8_floor/e8warn2steplight
{
	qer_editorimage textures/evil8_floor/e8warn2steplight.tga
	q3map_lightimage textures/evil8_floor/e8warn2steplight.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 250
	{
		map textures/evil8_floor/e8warn2steplight.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/evil8_floor/e8warn2steplight.blend.tga
		blendfunc add
	}
}

textures/evil8_floor/e8minitrimlight
{
	qer_editorimage textures/trib2/e8minitrimlight.tga
	q3map_lightimage textures/trib2/e8minitrimlight.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 250
	{
		map textures/trib2/e8minitrimlight.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8minitrimlight.blend.tga
		blendfunc add
	}
}
textures/evil8_fx/e8_jumppad02
{
	q3map_lightimage textures/evil8_fx/e8_jumppad02_fx.tga
	surfaceparm metalsteps
	q3map_surfacelight 100
	{
		map textures/evil8_fx/e8_jumppad02_fx.tga
		tcMod rotate 360
		tcMod stretch sin 1 0.8 1 0.4 
	}
	{
		map textures/evil8_fx/e8_jumppad02.tga
		blendfunc add
		rgbGen identity
	}
	{
		map textures/evil8_fx/e8_jumppad02.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc gl_dst_color gl_one_minus_dst_alpha
		rgbGen identity
		tcGen lightmap 
	}
}
textures/trib2/e8_rlightb2
{
	qer_editorimage textures/trib2/e8_rlightb2.tga
	q3map_lightimage textures/trib2/e8_rlightb2.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 450
	{
		map textures/trib2/e8_rlightb2.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8_rlightb2.blend.tga
		blendfunc add
	}
}
textures/trib2/e8_rlightb
{
	qer_editorimage textures/trib2/e8_rlightb.tga
	q3map_lightimage textures/trib2/e8_rlightb.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 450
	{
		map textures/trib2/e8_rlightb.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8_rlightb.blend.tga
		blendfunc add
	}
}

textures/trib2/evil8_rlight
{
	qer_editorimage textures/trib2/e8_rlight.tga
	q3map_lightimage textures/trib2/e8_rlight.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 950
	{
		map textures/trib2/e8_rlight.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8_rlight.blend.tga
		blendfunc add
	}
}

textures/trib2/e8tmtllight
{
	qer_editorimage textures/trib2/e8tmtllight.tga
	q3map_lightimage textures/trib2/e8tmtllight.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 950
	{
		map textures/trib2/e8tmtllight.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8tmtllight.blend.tga
		blendfunc add
	}
}

textures/trib2/e8tmtllight2
{
	qer_editorimage textures/trib2/e8tmtllight2.tga
	q3map_lightimage textures/trib2/e8tmtllight2.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 950
	{
		map textures/trib2/e8tmtllight2.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8tmtllight2.blend.tga
		blendfunc add
	}
}

textures/trib2/e8tmtllight2b
{
	qer_editorimage textures/trib2/e8tmtllight2b.tga
	q3map_lightimage textures/trib2/e8tmtllight2b.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 950
	{
		map textures/trib2/e8tmtllight2b.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8tmtllight2b.blend.tga
		blendfunc add
	}
}

textures/evil8_grate/e8xgirder_small2
{
	cull disable
	{
		map textures/evil8_grate/e8xgirder_small2.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}

textures/evil8_fx/e8alphaspawn
{
	surfaceparm nomarks
	surfaceparm trans
	surfaceparm pointlight
	{
		map textures/evil8_fx/e8alphaspawn.tga
		blendfunc add
		rgbGen Vertex
	}
}

textures/evil8_fx/e8yarrow
{
	surfaceparm nomarks
	surfaceparm trans
	surfaceparm pointlight
	{
		map textures/evil8_fx/e8yarrow.tga
		blendfunc add
		rgbGen Vertex
	}
}

textures/evil8_trim/e8lighttrim_static
{
	qer_editorimage textures/evil8_trim/e8lighttrim.tga
	surfaceparm nomarks
	q3map_surfacelight 400
	{
		map textures/evil8_trim/e8lighttrim.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/evil8_trim/e8lighttrim.blend.tga
		blendfunc add
	}
}

textures/evil8_trim/e8lighttrim_glow
{
	qer_editorimage textures/evil8_trim/e8lighttrim.tga
	surfaceparm nomarks
	q3map_surfacelight 400
	{
		map textures/evil8_trim/e8lighttrim.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/evil8_trim/e8lighttrim.blend.tga
		blendfunc add
		rgbGen wave sawtooth 0.2 1 1 0.2 
	}
}

textures/evil8_trim/e8lighttrim_b_static
{
	qer_editorimage textures/evil8_trim/e8lighttrim_b.tga
	surfaceparm nomarks
	q3map_surfacelight 400
	{
		map textures/evil8_trim/e8lighttrim_b.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/evil8_trim/e8lighttrim_b.blend.tga
		blendfunc add
	}
}

textures/evil8_trim/e8lighttrim_b_glow
{
	qer_editorimage textures/evil8_trim/e8lighttrim_b.tga
	surfaceparm nomarks
	q3map_surfacelight 400
	{
		map textures/evil8_trim/e8lighttrim_b.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/evil8_trim/e8lighttrim_b.blend.tga
		blendfunc add
		rgbGen wave sawtooth 0.2 1 1 0.2 
	}
}

textures/evil8_fx/e8jumpspawn02
{
	q3map_lightimage textures/evil8_fx/e8jumpspawn02_fx.tga
	surfaceparm metalsteps
	q3map_surfacelight 100
	{
		map textures/evil8_fx/e8jumpspawn02_fx.tga
		rgbGen identity
		tcMod rotate 760
	}
	{
		map textures/evil8_fx/e8jumpspawn02.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc gl_dst_color gl_one_minus_dst_alpha
		rgbGen identity
		tcGen lightmap 
	}
}

textures/evil8_fx/e8jumpspawn02b
{
	q3map_lightimage textures/evil8_fx/e8jumpspawn02_fx.tga
	surfaceparm metalsteps
	q3map_surfacelight 100
	{
		map textures/evil8_fx/e8jumpspawn02_fx.tga
		rgbGen identity
		tcMod rotate 760
	}
	{
		map textures/evil8_fx/e8jumpspawn02b.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc gl_dst_color gl_one_minus_dst_alpha
		rgbGen identity
		tcGen lightmap 
	}
}

textures/evil8_fx/e8jumpspawn02c
{
	q3map_lightimage textures/evil8_fx/e8jumpspawn02_fx.tga
	surfaceparm metalsteps
	q3map_surfacelight 100
	{
		map textures/evil8_fx/e8jumpspawn02_fx.tga
		rgbGen identity
		tcMod rotate 760
	}
	{
		map textures/evil8_fx/e8jumpspawn02c.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc gl_dst_color gl_one_minus_dst_alpha
		rgbGen identity
		tcGen lightmap 
	}
}

textures/evil8_fx/e8_launchpad1
{
	q3map_lightimage textures/evil8_fx/e8_launchpad1.blend.tga
	surfaceparm metalsteps
	q3map_surfacelight 100
	{
		map textures/evil8_fx/e8_launchpad1_fx.tga
		rgbGen identity
		tcMod scroll 0 3
	}
	{
		map textures/evil8_fx/e8_launchpad1.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map textures/evil8_fx/e8_launchpad1.blend.tga
		blendfunc add
		rgbGen wave triangle 0.2 2 1 2 
	}
	{
		map $lightmap 
		blendfunc gl_dst_color gl_one_minus_dst_alpha
		rgbGen identity
		tcGen lightmap 
	}
}

textures/evil8_fx/e8red_dcl
{
	surfaceparm nomarks
	surfaceparm trans
	surfaceparm pointlight
	{
		map textures/evil8_fx/e8red_dcl.tga
		blendfunc add
		rgbGen Vertex
	}
}

textures/evil8_fx/e8blue_dcl
{
	surfaceparm nomarks
	surfaceparm trans
	surfaceparm pointlight
	{
		map textures/evil8_fx/e8blue_dcl.tga
		blendfunc add
		rgbGen Vertex
	}
}

textures/evil8_grate/e8xgirder
{
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	nopicmip
	{
		map textures/evil8_grate/e8xgirder.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}

textures/evil8_grate/e8xgirder_small
{
	cull disable
	{
		map textures/evil8_grate/e8xgirder_small.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}

textures/evil8_trim/e8mtltrim2
{
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm trans
	cull disable
	{
		map textures/evil8_trim/e8mtltrim2.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}

textures/evil8_trim/e8wrntrim2
{
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm trans
	cull disable
	{
		map textures/evil8_trim/e8wrntrim2.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}

textures/evil8_trim/e8mtltrim2
{
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm trans
	cull disable
	{
		map textures/evil8_trim/e8mtltrim2.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}

textures/evil8_grate/e8bgrate01
{
	surfaceparm alphashadow
	surfaceparm metalsteps
	cull disable
	{
		map textures/evil8_grate/e8bgrate01.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}

textures/evil8_fx/e8rail
{
	surfaceparm alphashadow
	cull disable
	nomipmaps
	{
		map textures/evil8_fx/e8rail.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}

textures/evil8_fx/e8icon_red
{
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	{
		map textures/evil8_fx/e8icon_red.tga
		blendfunc add
		rgbGen wave triangle 0.2 0.5 0 0.2 
	}
}

textures/evil8_fx/e8icon_blue
{
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	{
		map textures/evil8_fx/e8icon_blue.tga
		blendfunc add
		rgbGen wave triangle 0.2 0.5 0 0.2 
	}
}

//doesn't work right, please edit as you see fit
textures/evil8_fx/e8scuffs1
{
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	qer_trans 0.4
	{
		map textures/evil8_fx/e8scuffs1.tga
		blendfunc blend
		rgbGen Vertex
		depthWrite
	}
}

textures/evil8_fx/e8circle_red
{
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans
	{
		map textures/evil8_fx/e8circle_red.tga
		blendfunc add
		rgbGen identity
	}
}

textures/evil8_fx/e8circle_blue
{
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans
	{
		map textures/evil8_fx/e8circle_blue.tga
		blendfunc add
		rgbGen identity
	}
}

textures/evil8_fx/e8circle_red_fade
{
	qer_editorimage textures/evil8_fx/e8circle_red.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	{
		map textures/evil8_fx/e8circle_red.tga
		blendfunc add
		rgbGen wave triangle 0.2 0.5 0 0.5 
	}
}

textures/evil8_fx/e8circle_blue_fade
{
	qer_editorimage textures/evil8_fx/e8circle_blue.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	{
		map textures/evil8_fx/e8circle_blue.tga
		blendfunc add
		rgbGen wave triangle 0.2 0.5 0 0.5 
	}
}

textures/evil8_fx/e8spawn01b
{
	{
		map textures/sfx/proto_zzztblu2.tga
		rgbGen identity
		tcMod turb 0 0.5 0 9.6
		tcMod scale 2 2
		tcMod scroll 9 5
	}
	{
		map textures/evil8_fx/e8spawn01b.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc gl_dst_color gl_one_minus_dst_alpha
		rgbGen identity
		tcGen lightmap 
	}
}

textures/evil8_trim/e8trim_bluefx
{
	q3map_lightimage textures/e8trim/evil8_trimfx_b.tga
	q3map_surfacelight 100
	{
		map $lightmap 
		rgbGen identity
		tcGen lightmap 
	}
	{
		map textures/evil8_trim/e8trim_bluefx.tga
		blendfunc filter
		rgbGen identity
	}
	{
		map textures/evil8_trim/e8trimfx_b.tga
		blendfunc add
		tcMod scroll -2 0
	}
}

textures/evil8_trim/e8trim_redfx
{
	q3map_lightimage textures/evil8_trim/e8trimfx_r.tga
	q3map_surfacelight 100
	{
		map $lightmap 
		rgbGen identity
		tcGen lightmap 
	}
	{
		map textures/evil8_trim/e8trim_redfx.tga
		blendfunc filter
		rgbGen identity
	}
	{
		map textures/evil8_trim/e8trimfx_r.tga
		blendfunc add
		tcMod scroll -2 0
	}
}

//not for public release :P
textures/evil8_fx/e8evilspacetxt
{
	surfaceparm nomarks
	surfaceparm trans
	surfaceparm pointlight
	{
		map textures/evil8_fx/e8evilspacetxt.tga
		blendfunc add
		rgbGen Vertex
	}
}

textures/trib2/e8tinylight
{
	qer_editorimage textures/trib2/e8tinylight.tga
	q3map_lightimage textures/trib2/e8tinylight.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 950
	{
		map textures/trib2/e8tinylight.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8tinylight.blend.tga
		blendfunc add
	}
}

textures/trib2/e8tinylightblue
{
	qer_editorimage textures/trib2/e8tinylightblue.tga
	surfaceparm nomarks
	q3map_surfacelight 950
	{
		map textures/trib2/e8tinylightblue.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8tinylightblue.blend.tga
		blendfunc add
	}
}

textures/trib2/e8beam
{
	qer_editorimage textures/trib2/e8beam.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	cull disable
	qer_trans 0.6
	{
		map textures/trib2/e8beam.tga
		blendfunc add
		tcMod scroll 0.3 0
	}
}

textures/trib2/e8beam_blue
{
	qer_editorimage textures/trib2/e8beam_blue.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	cull disable
	qer_trans 0.6
	{
		map textures/trib2/e8beam_blue.tga
		blendfunc add
		tcMod scroll 0.3 0
	}
}

textures/trib2/e8metal03c_shiney
{
	qer_editorimage textures/trib2/e8metal03c.tga
	{
		map textures/effects/tinfx.tga
		rgbGen identity
		tcGen environment 
	}
	{
		map textures/trib2/e8metal03c.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc gl_dst_color gl_one_minus_dst_alpha
		rgbGen identity
		tcGen lightmap 
	}
}

textures/trib2/e8metal_blue_shiney
{
	qer_editorimage textures/trib2/e8metal_blue.tga
	{
		map textures/effects/tinfx.tga
		rgbGen identity
		tcGen environment 
	}
	{
		map textures/trib2/e8metal_blue.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc gl_dst_color gl_one_minus_dst_alpha
		rgbGen identity
		tcGen lightmap 
	}
}

textures/trib2/e8metal_red_shiney
{
	qer_editorimage textures/trib2/e8metal_red.tga
	{
		map textures/effects/tinfx.tga
		rgbGen identity
		tcGen environment 
	}
	{
		map textures/trib2/e8metal_red.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc gl_dst_color gl_one_minus_dst_alpha
		rgbGen identity
		tcGen lightmap 
	}
}

//broken shader D:?
textures/trib2/e8trimlight
{
	q3map_lightimage textures/trib2/e8trimlight_fx.tga
	q3map_surfacelight 100
	{
		map $lightmap 
		rgbGen identity
		tcGen lightmap 
	}
	{
		map textures/trib2/e8trimlight.tga
		blendfunc filter
		rgbGen identity
	}
	{
		map textures/trib2/e8trimlight_fx.tga
		blendfunc add
		tcMod scroll -2 0
	}
}

textures/trib2/e8trimlight2_blue
{
	qer_editorimage textures/trib2/e8trimlight2_blue.tga
	surfaceparm nomarks
	q3map_surfacelight 400
	{
		map textures/trib2/e8trimlight2_blue.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8trimlight2_blue.blend.tga
		blendfunc add
		tcMod scroll -0.7 0
	}
}

textures/trib2/e8trimlight2_red
{
	qer_editorimage textures/trib2/e8trimlight2_red.tga
	surfaceparm nomarks
	q3map_surfacelight 400
	{
		map textures/trib2/e8trimlight2_red.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8trimlight2_red.blend.tga
		blendfunc add
		tcMod scroll -0.7 0
	}
}


//===========================//
//=======floor sounds========//
//===========================//
textures/trib2/e8clangfloor
{
	//qer_editorimage textures/trib2/e8clangfloor.tga
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor.tga
		blendfunc filter
		rgbGen identity
	}
}
textures/trib2/e8clangfloor01
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor01.tga
		blendfunc filter
		rgbGen identity
	}
}

textures/trib2/e8clangfloor03
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor03.tga
		blendfunc filter
		rgbGen identity
	}
}

textures/trib2/e8clangfloor04
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor04.tga
		blendfunc filter
		rgbGen identity
	}
}
textures/trib2/e8clangfloor04_blue
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor04_blue.tga
		blendfunc filter
		rgbGen identity
	}
}
textures/trib2/e8clangfloor04_red
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor04_red.tga
		blendfunc filter
		rgbGen identity
	}
}
textures/trib2/e8clangfloor04b
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor04b.tga
		blendfunc filter
		rgbGen identity
	}
}
textures/trib2/e8clangfloor04warn
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor04warn.tga
		blendfunc filter
		rgbGen identity
	}
}
textures/trib2/e8clangfloor04warn2
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor04warn2.tga
		blendfunc filter
		rgbGen identity
	}
}
textures/trib2/e8clangfloor05
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor05.tga
		blendfunc filter
		rgbGen identity
	}
}
textures/trib2/e8clangfloor05b
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor05b.tga
		blendfunc filter
		rgbGen identity
	}
}
textures/trib2/e8clangfloor05c
{
	surfaceparm metalsteps
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/trib2/e8clangfloor05c.tga
		blendfunc filter
		rgbGen identity
	}
}
//===========================//
//===========================//
//===========================//

//evillairs dsi shaders

//===========================//
//===========================//
//===========================//


textures/liquids/dsiwater_ripple
	{
		qer_editorimage textures/liquids/pool3d_3c.tga
		qer_trans .5
		q3map_globaltexture
		surfaceparm trans
		surfaceparm nonsolid
		surfaceparm water
	
		cull disable
		deformVertexes wave 64 sin .5 .5 0 .5	
		
		{ 
			map textures/liquids/pool3d_5c.tga
			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
		}
	
		{ 
			map textures/liquids/pool3d_6c.tga
			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/liquids/pool3d_3c.tga
			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		
		}
	

}

textures/trib2/weapspawn01
{
	surfaceparm nomarks
	surfaceparm trans
	surfaceparm pointlight
	nopicmip
	{
		clampmap textures/trib2/weapspawn01.tga
		blendfunc add
		rgbGen Vertex
		tcMod rotate 45
	}
	{
		map textures/trib2/weapspawn01.blend.tga
		blendfunc add
		rgbGen Vertex
	}
}

textures/trib2/dsiglass
{
	qer_editorimage textures/trib2/dsiglass.tga
	surfaceparm trans
	cull disable
	qer_trans 0.5
	{
		map textures/trib2/dsitinfx.tga
		blendfunc add
		rgbGen identity
		tcGen environment 
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
	}
}

textures/trib2/cmp1_logo
{
	surfaceparm nomarks
	surfaceparm trans
	surfaceparm pointlight
	nopicmip
	{
		map textures/trib2/cmp1_logo.tga
		blendfunc add
		rgbGen Vertex
	}
}

textures/trib2/tmpjp
{
	qer_editorimage textures/trib2/tmpjp.tga
	q3map_lightimage textures/trib2/tmpjp.blend.tga
	q3map_surfacelight 500
	{
		map textures/trib2/tmpjp.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
	}
	{
		map textures/trib2/tmpjp.blend.tga
		blendfunc add
		rgbGen wave sin 0 1 0 1 
	}
}

textures/trib2/tmpjp2
{
	qer_editorimage textures/trib2/tm.tga
	surfaceparm trans
	cull disable
	qer_trans 0.5
	{
		map textures/trib2/dsitinfx.tga
		blendfunc add
		rgbGen identity
		tcGen environment 
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
	}
	{
		map textures/trib2/tmpjp.blend.tga
		blendfunc add
		rgbGen wave sin 0 1 0 1 
	}
	{
		map textures/trib2/tmpjp2.tga
		blendfunc blend
	}
}

textures/trib2/steplight1b
{
	qer_editorimage textures/trib2/steplight1b.tga
	q3map_lightimage textures/trib2/steplight1.blend.tga
	surfaceparm nomarks
	q3map_lightsubdivide 32
	q3map_surfacelight 1000
	{
		map textures/trib2/steplight1b.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/steplight1.blend.tga
		blendfunc add
	}
}

textures/trib2/steplight1
{
	qer_editorimage textures/trib2/steplight1.tga
	q3map_lightimage textures/trib2/steplight1.blend.tga
	surfaceparm nomarks
	q3map_lightsubdivide 32
	q3map_surfacelight 1000
	{
		map textures/trib2/steplight1.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/steplight1.blend.tga
		blendfunc add
	}
}

textures/trib2/tlight
{
	qer_editorimage textures/trib2/tlight.tga
	q3map_lightimage textures/trib2/tlight.blend.tga
	surfaceparm nomarks
	q3map_lightsubdivide 32
	q3map_surfacelight 1000
	{
		map textures/trib2/tlight.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/tlight.blend.tga
		blendfunc add
	}
}

textures/trib2/cretelighttrim01
{
	qer_editorimage textures/trib2/cretelighttrim01.tga
	q3map_lightimage textures/trib2/cretelighttrim01.blend.tga
	surfaceparm nomarks
	q3map_lightsubdivide 32
	q3map_surfacelight 1000
	{
		map textures/trib2/cretelighttrim01.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/cretelighttrim01.blend.tga
		blendfunc add
	}
}

textures/trib2/cretetrimlight2
{
	qer_editorimage textures/trib2/cretetrimlight2.tga
	q3map_lightimage textures/trib2/cretelighttrim01.blend.tga
	surfaceparm nomarks
	q3map_lightsubdivide 32
	q3map_surfacelight 1000
	{
		map textures/trib2/cretetrimlight2.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/cretelighttrim01.blend.tga
		blendfunc add
	}
}

textures/trib2/cretetrimlight3
{
	qer_editorimage textures/trib2/cretetrimlight3.tga
	q3map_lightimage textures/trib2/cretelighttrim01.blend.tga
	surfaceparm nomarks
	q3map_lightsubdivide 32
	q3map_surfacelight 1000
	{
		map textures/trib2/cretetrimlight3.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/cretelighttrim01.blend.tga
		blendfunc add
	}
}

textures/trib2/cretetrimlight4
{
	qer_editorimage textures/trib2/cretetrimlight4.tga
	q3map_lightimage textures/trib2/cretelighttrim01.blend.tga
	surfaceparm nomarks
	q3map_lightsubdivide 32
	q3map_surfacelight 1000
	{
		map textures/trib2/cretetrimlight4.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/cretelighttrim01.blend.tga
		blendfunc add
	}
}

textures/trib2/cretetrimlight3b
{
	qer_editorimage textures/trib2/cretetrimlight3b.tga
	q3map_lightimage textures/trib2/cretelighttrim3.blend.tga
	surfaceparm nomarks
	q3map_lightsubdivide 32
	q3map_surfacelight 1000
	{
		map textures/trib2/cretetrimlight3b.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/cretelighttrim3.blend.tga
		blendfunc add
	}
}

textures/trib2/dablue
{
	qer_editorimage textures/trib2/dablue.blend.tga
	q3map_lightimage textures/trib2/dablue.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 1000
	{
		map textures/trib2/dablue.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/dablue.blend.tga
		blendfunc add
	}
}

textures/trib2/cretewalllight01
{
	qer_editorimage textures/trib2/cretewalllight01.tga
	q3map_lightimage textures/trib2/cretewalllight01.blend.tga
	surfaceparm nomarks
	q3map_lightsubdivide 32
	q3map_surfacelight 1000
	{
		map textures/trib2/cretewalllight01.tga
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/cretewalllight01.blend.tga
		blendfunc add
	}
}

//===========================//
//===========================//
//===========================//



//****************************************************//
//									//
//	purplenebula-cmp1.shader for Quake III		//
//	by Amethyst7 - 03.13.2002				//
//									//
//****************************************************//

textures/amethyst7/purplenebula-cmp1/purplenebula_skybox
{
	qer_editorimage textures/amethyst7/purplenebula-cmp1/purplenebula
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm sky
	q3map_sun 1.00 0.90 1.00 50 90 90
	q3map_surfacelight 70
	skyparms env/amethyst7/purplenebula-cmp1/purplenebula - -
}





textures/trib2/e8trimlight2_pur
{
	qer_editorimage textures/trib2/e8trimlight2_pur.tga
	surfaceparm nomarks
	q3map_surfacelight 500
	{
		map textures/trib2/e8trimlight2_pur.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8trimlight2_pur.blend.tga
		blendfunc add
		rgbGen wave sin 0.7 0.2 0 0.3 
	}
}

textures/trib2/e8tinylightpur
{
	qer_editorimage textures/trib2/e8tinylightpur.tga
	surfaceparm nomarks
	q3map_surfacelight 520
	{
		map textures/trib2/e8tinylightpur.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8tinylightpur.blend.tga
		blendfunc add
		rgbGen wave noise 0.5 0.3 0 0.2 
	}
}

textures/trib2/e8lighttrim_b_pur
{
	qer_editorimage textures/trib2/e8lighttrim_pur.tga
	surfaceparm nomarks
	q3map_surfacelight 1000
	{
		map textures/trib2/e8lighttrim_pur.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8lighttrim_pur.blend.tga
		blendfunc add
		rgbGen wave sin 0.4 0.2 0 0.2 
	}
}

textures/trib2/e8lighttrim_pur
{
	qer_editorimage textures/trib2/e8lighttrim_p.tga
	surfaceparm nomarks
	q3map_surfacelight 1000
	{
		map textures/trib2/e8lighttrim_p.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/trib2/e8lighttrim_p.blend.tga
		blendfunc add
		rgbGen wave sin 0.4 0.2 0 0.2 
	}
}

textures/trib2/e8circle_pur
{
	qer_editorimage textures/trib2/e8circle_pur.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 50
	{
		clampmap textures/trib2/e8circle_pur.tga
		blendfunc blend
		rgbGen wave sin 0.9 0.2 0 0.5 
		tcMod rotate 45
	}
}

textures/trib2/e8clangfloor
{
	surfaceparm metalsteps
	{
		map $lightmap 
		rgbGen identity
		tcGen lightmap 
	}
	{
		map textures/trib2/e8clangfloor.tga
		blendfunc filter
		rgbGen identity
	}
}

textures/trib2/logo
{
	surfaceparm nomarks
	surfaceparm trans
	surfaceparm pointlight
	nopicmip
	{
		map textures/trib2/logo.tga
		blendfunc add
		rgbGen wave sin 0.9 0.2 0 0.2 
	}
}

textures/trib2/ame7jp
{
	q3map_lightimage textures/trib2/ame7jp.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	q3map_surfacelight 150
	{
		clampmap textures/trib2/ame7jp2.tga
		blendfunc add
		tcMod rotate 20
	}
	{
		clampmap textures/trib2/ame7jp.tga
		blendfunc add
		tcMod rotate -400
	}
}

textures/trib2/ame7glass
{
	qer_editorimage textures/trib2/ame7light.tga
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	qer_trans 0.5
	{
		map textures/trib2/ame7light.tga
		blendfunc add
		tcGen environment 
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
}

