textures/pukka3tourney2/roundgrate
{
	qer_editorimage textures/pukka3tourney2/u_gr8_8c.tga
	surfaceparm metalsteps	
    	surfaceparm trans	
	surfaceparm alphashadow
	surfaceparm playerclip
   	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nodrop
	cull none
        nopicmip
	{
		map textures/pukka3tourney2/u_gr8_8c.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}

textures/pukka3tourney2/beam1
{
		sort 16
		qer_editorimage textures/pukka3tourney2/s1.jpg
		surfaceparm nonsolid
		surfaceparm trans
		surfaceparm nolightmap
		cull disable
		deformVertexes autosprite2
	{
		clampmap textures/pukka3tourney2/s1.jpg
		blendfunc add
	}
}

textures/pukka3tourney2/beam2
{
		sort 16
		qer_editorimage textures/pukka3tourney2/s2.jpg
		surfaceparm nonsolid
		surfaceparm trans
		surfaceparm nolightmap
		cull disable
		deformVertexes autosprite2
	{
		clampmap textures/pukka3tourney2/s2.jpg
		blendfunc add
	}
}



textures/pukka3tourney2/yellowtech_shiny
{   
   
        {
                map textures/pukka3tourney2/doomfx.tga       
                tcGen environment
                rgbGen vertex
	}  
        {
		map textures/pukka3tourney2/yellowtech_shiny.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/pukka3tourney2/acid_lm
{
		qer_editorimage textures/pukka3tourney2/acid.tga
		qer_trans .75
		q3map_lightimage textures/pukka3tourney2/acid.tga
		qer_trans .75
		q3map_globaltexture
		qer_trans .5

		surfaceparm noimpact
		surfaceparm slime
		surfaceparm nolightmap
		surfaceparm trans      

		q3map_surfacelight 100
		tessSize 32
		cull disable
		deformVertexes wave 30 sin 0 3 0 .3
		deformVertexes normal .1 .15
   {
		map textures/effects/envmap2.tga
		blendfunc GL_ONE GL_ONE
		tcGen environment
   }
   {
		map textures/pukka3tourney2/bubbles.tga
		blendfunc add
		tcgen environment
		rgbgen wave sin .5 0 0 0
		tcmod scale 0.75 0.75
		tcMod scroll .01 .01
   }
  { 
		map textures/liquids/pool3d_3e.tga
		blendFunc GL_dst_color GL_one
		tcmod scale -.5 -.5
		tcmod scroll .025 .025
   }
   {
		map textures/pukka3tourney2/acid.tga
		blendfunc GL_ZERO GL_SRC_COLOR
		tcMod turb .2 .1 .1 .2
		tcMod scale .7 .7
		tcMod scroll .001 .001
   }


}

textures/pukka3tourney2/acid_vertex
	{
		qer_editorimage textures/pukka3tourney2/acid.tga
		qer_trans .75
		q3map_lightimage textures/pukka3tourney2/acid.tga
		qer_trans .75
		q3map_globaltexture
		qer_trans .5

		surfaceparm noimpact
		surfaceparm slime
		surfaceparm nolightmap
		surfaceparm trans		

		q3map_surfacelight 100
		tessSize 32
		cull disable
		deformVertexes normal .15 .15
		deformVertexes wave 100 sin 0 1 .5 .5

	
		{
			map textures/pukka3tourney2/acid.tga
			blendfunc GL_ZERO GL_SRC_COLOR
			tcMod turb .2 .1 .1 .2
			tcMod scale .5 .5
		
		}
		
}

textures/pukka3tourney2/small_light
{
	qer_editorimage textures/pukka3tourney2/light_01.tga
	q3map_lightimage textures/pukka3tourney2/light_01.blend.tga
	surfaceparm nomarks
	q3map_surfacelight 0
	light 1
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/pukka3tourney2/light_01.tga
		blendFunc GL_DST_COLOR GL_ZERO
	}
	{
		map textures/pukka3tourney2/light_01.blend.tga
		blendFunc GL_ONE GL_ONE

	}
}

textures/pukka3tourney2/base1_nonsolid
{
	qer_editorimage textures/pukka3tourney2/base1.tga
	surfaceparm nonsolid
	{
		map $lightmap
		rgbGen identity
	
	}
	{
		map textures/pukka3tourney2/base1.tga
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO

	
	}
}


textures/pukka3tourney2/light2
{
	qer_editorimage textures/pukka3tourney2/light2.tga
	surfaceparm nomarks
	q3map_surfacelight 250


	{
		map textures/pukka3tourney2/light2.tga
		blendFunc GL_DST_COLOR GL_ZERO
		depthWrite
		rgbGen identity
	}
	{
		map textures/pukka3tourney2/light2_blend.tga
		blendfunc GL_ONE GL_ONE
	}
}

textures/pukka3tourney2/small_light
{
	qer_editorimage textures/pukka3tourney2/goth1.tga
	q3map_lightimage textures/pukka3tourney2/goth1blend.tga
	surfaceparm nomarks
	q3map_surfacelight 0
	light 1
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/pukka3tourney2/goth1.tga
		blendFunc GL_DST_COLOR GL_ZERO
	}
	{
		map textures/pukka3tourney2/goth1blend.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin 0.7 0.3 0 0.1
	}
}

textures/pukka3tourney2/chainlnk
{
	qer_editorimage textures/pukka3tourney2/chainlnk.tga
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	nopicmip
	{
		map textures/pukka3tourney2/chainlnk.tga
		rgbGen identity
		tcMod scale 1 1
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}

textures/pukka3tourney2/chainlnk_ow
{
	qer_editorimage textures/pukka3tourney2/chainlnk_ow.tga
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	nopicmip
	{
		map textures/pukka3tourney2/chainlnk_ow.tga
		rgbGen identity
		tcMod scale 1 1
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
		depthFunc equal
	}
}


//Shader file for Mytht-decals01
//http://www.zaphox.net
//date: 11/May/2005
//Thanks to dONKEY and Shallow for texture & shader help

textures/pukka3tourney2/moss01
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/moss01.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/arrow01
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/arrow01.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/crack01
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/crack01.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/crack02
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/crack02.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}



textures/pukka3tourney2/crack03
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/crack03.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/crack04
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/crack04.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/crack05
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/crack05.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}




textures/pukka3tourney2/splat01
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/splat01.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/splat02
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/splat02.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/splat03
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/splat03.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/splat04
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/splat04.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/splat05
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/splat05.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/splat06
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/splat06.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/splat07
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/splat07.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/hand01
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/hand01.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/smear01
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/smear01.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}


textures/pukka3tourney2/smear02
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/smear02.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}



textures/pukka3tourney2/smear03
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/smear03.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}



textures/pukka3tourney2/bullets01
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/bullets01.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}

textures/pukka3tourney2/bullets02
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/bullets02.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}

textures/pukka3tourney2/bullets03
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/mpukka3tourney2/bullets03.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 
}

textures/pukka3tourney2/bullets04
{ 
   surfaceparm trans 
   surfaceparm nomarks 
   polygonOffset 
   qer_trans 0.5 
   sort 6 
   { 
      map textures/pukka3tourney2/bullets04.tga 
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR 
      rgbGen identity 
   } 

}


textures/pukka3tourney2/valleysky
{
	qer_editorimage textures/pukka3tourney2/sky.tga
	surfaceparm sky
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_globaltexture
	q3map_lightsubdivide 256
	q3map_lightimage textures/pukka3tourney2/skycolor.tga
	q3map_surfacelight 140
	q3map_sun 1 1 .8 77 127 62
	skyparms env/pukka3tourney2/blood-valley - -
}
