// ****************************************************************
// Shader file - by Kiltron for "kilt_texpack02.pk3"
// Original Textures by - Thearrel "Kiltron" McKinney
// Alpha Channels and Shader Textures by - Thearrel "Kiltron" McKinney
// Date: 6/15/2000
// Special Thanks: id Software
// ****************************************************************

textures/kilt_texpack02/kilt_conc_tekdoor_glass
{
     cull none
     surfaceparm alphashadow

        {
		map textures/effects/tinfx2.tga
                blendFunc GL_ONE GL_ONE
                tcgen environment
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_conc_tekdoor_glass.tga
                alphaFunc GE128
                depthWrite
		//rgbGen vertex
                //blendfunc blend	
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_conc_tekfloor_glass
{
     cull none
     surfaceparm alphashadow

        {
		map textures/effects/tinfx2.tga
                blendFunc GL_ONE GL_ONE
                tcgen environment
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_conc_tekfloor_glass.tga
                alphaFunc GE128
                depthWrite
		//rgbGen vertex
                //blendfunc blend	
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_tek7_pipes_glass
{
     cull none
     surfaceparm alphashadow

        {
		map textures/effects/tinfx2.tga
                blendFunc GL_ONE GL_ONE
                tcgen environment
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek7_pipes_glass.tga
                alphaFunc GE128
                depthWrite
		//rgbGen vertex
                //blendfunc blend	
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_marble_tek
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_marble_tek.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_tek5
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek5.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_tek2
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek2.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_tek3
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek3.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_tek
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_tek_plates
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek_plates.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_tek_shackle
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek_shackle.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/stargr2_kilt
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/stargr2_kilt.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/stargr2_kilt2
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/stargr2_kilt2.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/stargr2_kilt4
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/stargr2_kilt4.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/marbface@256_alpha
{
	q3map_surfacelight 0000
	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/marbface@256_alpha.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/marbface@256_sfx.tga
		rgbGen wave sin 0.5 0.5 1 1
		blendfunc GL_ONE GL_ONE
	}
}

textures/kilt_texpack02/kilt_tek7_marbface
{
	q3map_surfacelight 0000
	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek7_marbface.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/marbface@256_sfx.tga
		rgbGen wave sin 0.5 0.5 1 1
		blendfunc GL_ONE GL_ONE
	}
}

textures/kilt_texpack02/marbface_portal1@256
{
	q3map_globaltexture
	surfaceparm trans
	//surfaceparm nonsolid
	surfaceparm noimpact
	surfaceparm lava
	surfaceparm nolightmap
	cull disable
	
	tesssize 128
	cull disable

        {
		map $lightmap
		rgbGen identity
	}
	{
		animMap 7.0 textures/kilt_texpack02/marbface_portal1@256.tga textures/kilt_texpack02/marbface_portal2@256.tga textures/kilt_texpack02/marbface_portal3@256.tga textures/kilt_texpack02/marbface_portal4@256.tga textures/kilt_texpack02/marbface_portal5@256.tga textures/kilt_texpack02/marbface_portal4@256.tga textures/kilt_texpack02/marbface_portal3@256.tga textures/kilt_texpack02/marbface_portal2@256.tga
	}

}

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

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

textures/kilt_texpack02/kilt_tek_boarder
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek_boarder.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_tek_boarder2
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek_boarder2.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_tek_boarder3
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek_boarder3.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_tek_boarder5
{
	
        {
		map textures/kilt_texpack02/kilt_hologirl_blue.tga
                tcmod scale 2 .4
                tcmod scroll 6 .6
                //tcMod turb 0 .1 0 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek_boarder5.tga
                blendfunc blend
                rgbGen identity
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/kilt_texpack02/kilt_conc_twirl1
{

        {
		map textures/kilt_texpack02/kilt_twirl_fx.tga
                tcmod scroll 0 1
                tcMod turb 0 .25 0 1.6
                tcmod scale 2 2
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
        {
	        map textures/gothic_block/blocks18cgeomtrn2.tga
		//blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
                blendFunc blend
                tcmod rotate 30
                tcMod stretch sin .8 0.2 0 .2
	        rgbGen identity
	}
        {
	        map textures/gothic_block/blocks18cgeomtrn2.tga
		blendFunc blend
                tcmod rotate 20
                tcMod stretch sin .8 0.2 0 .1
	        rgbGen identity
	}
	{
	        map textures/kilt_texpack02/kilt_conc_twirl1.tga
		blendFunc blend
	        rgbGen identity
	}
        {
		map $lightmap
                blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
		rgbGen identity
	}
}

textures/kilt_texpack02/kilt_conc_twirl1_blue
{

        {
		map textures/kilt_texpack02/kilt_twirl_fx_blue.tga
                tcmod scroll 0 1
                tcMod turb 0 .25 0 1.6
                tcmod scale 2 2
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
        {
	        map textures/gothic_block/blocks18cgeomtrn2.tga
		//blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
                blendFunc blend
                tcmod rotate 30
                tcMod stretch sin .8 0.2 0 .2
	        rgbGen identity
	}
        {
	        map textures/gothic_block/blocks18cgeomtrn2.tga
		blendFunc blend
                tcmod rotate 20
                tcMod stretch sin .8 0.2 0 .1
	        rgbGen identity
	}
	{
	        map textures/kilt_texpack02/kilt_conc_twirl1_blue.tga
		blendFunc blend
	        rgbGen identity
	}
        {
		map $lightmap
                blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
		rgbGen identity
	}
}

textures/kilt_texpack02/kilt_conc_twirl1_red
{

        {
		map textures/kilt_texpack02/kilt_twirl_fx_red.tga
                tcmod scroll 0 1
                tcMod turb 0 .25 0 1.6
                tcmod scale 2 2
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
        {
	        map textures/gothic_block/blocks18cgeomtrn2.tga
		//blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
                blendFunc blend
                tcmod rotate 30
                tcMod stretch sin .8 0.2 0 .2
	        rgbGen identity
	}
        {
	        map textures/gothic_block/blocks18cgeomtrn2.tga
		blendFunc blend
                tcmod rotate 20
                tcMod stretch sin .8 0.2 0 .1
	        rgbGen identity
	}
	{
	        map textures/kilt_texpack02/kilt_conc_twirl1_red.tga
		blendFunc blend
	        rgbGen identity
	}
        {
		map $lightmap
                blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
		rgbGen identity
	}
}

textures/kilt_texpack02/t8_largeblock02
{
	q3map_lightimage textures/kilt_texpack02/t8_largeblock02_fx.tga
	q3map_surfacelight 500

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/t8_largeblock02.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/t8_largeblock02_fx.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .5 .5 0 0.5
	}
}

textures/kilt_texpack02/kilt_alien_light1_2k
{
	qer_editorimage textures/kilt_texpack02/kilt_alien_light1.tga
	surfaceparm nomarks
	q3map_surfacelight 2000
	//light 1

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_alien_light1.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_alien_light1.blend.tga
		blendfunc GL_ONE GL_ONE
	}
}

textures/kilt_texpack02/kilt_tek_beam3_light_2k
{
	qer_editorimage textures/kilt_texpack02/kilt_tek_beam3_light.tga
	surfaceparm nomarks
	q3map_surfacelight 2000
	//light 1

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_tek_beam3_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/baslt4_1.blend.tga
		blendfunc GL_ONE GL_ONE
	}
}

textures/kilt_texpack02/kilt_alien_scratch3a_blue
{
	q3map_lightimage textures/kilt_texpack02/kilt_alien_scratch3a_bluefx.tga
	q3map_surfacelight 500

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_alien_scratch3a_blue.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_alien_scratch3a_bluefx.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .5 .5 0 0.5
	}
}

textures/kilt_texpack02/kilt_alien_scratch3a_red
{
	q3map_lightimage textures/kilt_texpack02/kilt_alien_scratch3a_redfx.tga
	q3map_surfacelight 500

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_alien_scratch3a_red.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_alien_scratch3a_redfx.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .5 .5 0 0.5
	}
}

textures/kilt_texpack02/woodmeat_tiled2_alpha
{

        {
		map textures/kilt_texpack02/woodmeat_tiled2_sfx.tga
                tcMod turb 0 .3 0 .2
                tcmod scroll 6 .7
                tcmod scale .4 1
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
        {
	        map textures/kilt_texpack02/woodmeat_tiled2_alpha.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
                tcMod stretch sin .8 0.4 0 .2
                tcmod scroll .3 0
	        rgbGen identity
	}
        {
	        map textures/kilt_texpack02/woodmeat_tiled2_alpha.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
                tcMod stretch sin .8 0.2 0 .1
                tcmod scroll -.5 0
	        rgbGen identity
	}
	{
	        map textures/kilt_texpack02/woodmeat_tiled2_alpha.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	        rgbGen identity
	}
        {
		map $lightmap
                blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
		rgbGen identity
	}
}

textures/kilt_texpack02/t8_gbpad
{
	q3map_lightimage textures/kilt_texpack02/t8_gbpad_fx.tga
	q3map_surfacelight 500

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/t8_gbpad.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/t8_gbpad_fx.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .5 .5 0 0.5
	}
}

textures/kilt_texpack02/t8_gbpad_pent
{
	q3map_lightimage textures/kilt_texpack02/t8_gbpad_fx.tga
	q3map_surfacelight 500

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/t8_gbpad_pent.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/t8_gbpad_fx.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .5 .5 0 0.5
	}
}

textures/kilt_texpack02/kilt_metal1_bpad1
{
	q3map_lightimage textures/kilt_texpack02/t8_gbpad_fx.tga
	q3map_surfacelight 500

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_metal1_bpad1.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/t8_gbpad_fx.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .5 .5 0 0.5
	}
}

textures/kilt_texpack02/nadia_bjorlin
{
        //Hotty and one hell of a woman
	qer_editorimage textures/kilt_texpack02/nadia_bjorlin.tga
        q3map_surfacelight 100
	
	

	{
		animMap .25 textures/kilt_texpack02/nadia_bjorlin.tga textures/kilt_texpack02/kilt_doom_title.tga textures/kilt_texpack02/t8_glow01.tga textures/kilt_texpack02/id.tga textures/kilt_texpack02/meanarena.tga
		rgbGen wave sawtooth 0 1 0 .25
	
	}

	{
		map textures/base_wall/comp3textd.tga
		blendfunc add
		rgbGen wave inversesawtooth 0 1 0 .25
		tcmod scroll 5 .25 
	}

	{
		map textures/base_wall/chrome_env.tga
		tcgen environment
		tcmod scale .5 .5
		blendfunc add
		rgbgen wave triangle .5 .05 0 10
	}

	{
		map textures/kilt_texpack02/kilt_bigscreen.tga
		blendfunc blend
		rgbgen identity
	}

	{
		map $lightmap
	        blendfunc gl_dst_color gl_zero
		rgbgen identity
	}
	          		
}

textures/kilt_texpack02/pitchshifter
{
        //Best band ever
	qer_editorimage textures/kilt_texpack02/pitchshifter.tga
        q3map_surfacelight 100
	
	

	{
		animMap .25 textures/kilt_texpack02/pitchshifter.tga textures/kilt_texpack02/gamespy.tga textures/kilt_texpack02/kilt_wicked1.tga textures/kilt_texpack02/psyonisector.tga textures/kilt_texpack02/madm09.tga
		rgbGen wave sawtooth 0 1 0 .25
	
	}

	{
		map textures/base_wall/comp3textd.tga
		blendfunc add
		rgbGen wave inversesawtooth 0 1 0 .25
		tcmod scroll 5 .25 
	}

	{
		map textures/base_wall/chrome_env.tga
		tcgen environment
		tcmod scale .5 .5
		blendfunc add
		rgbgen wave triangle .5 .05 0 10
	}

	{
		map textures/kilt_texpack02/kilt_conc_tek02.tga
		blendfunc blend
		rgbgen identity
	}

	{
		map $lightmap
	        blendfunc gl_dst_color gl_zero
		rgbgen identity
	}
	          		
}

textures/kilt_texpack02/kilt_marbface2_pentb
{
	q3map_lightimage textures/kilt_texpack02/kilt_marbface2_pent_fxb.tga
	q3map_surfacelight 500

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_marbface2_pentb.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_marbface2_pent_fxb.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .5 .5 0 0.5
	}
}

textures/kilt_texpack02/kilt_marbface2_pentr
{
	q3map_lightimage textures/kilt_texpack02/kilt_marbface2_pent_fxr.tga
	q3map_surfacelight 500

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_marbface2_pentr.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/kilt_texpack02/kilt_marbface2_pent_fxr.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .5 .5 0 0.5
	}
}