// greenblue things

textures/kale/kwindowbgsolid
	{
        qer_editorimage textures/kale/kwindowbg.tga
	surfaceparm trans	
        surfaceparm nomarks	
	surfaceparm nolightmap
	q3map_lightimage textures/kale/kwindowbg.tga
	q3map_surfacelight 800
        qer_trans 0.4
	cull none
	{
		map textures/kale/kwindowbg.tga
                blendFunc add
        }
}
     

//shootable tele
textures/kale/shoottele
{
	surfaceparm trans
		{
		map textures/effects/envmapgold2.tga
		blendfunc add
		tcMod turb 0 0.15 0 0.3
		tcMod rotate 333
		tcMod scroll 0.3 0.3
		}
	}
	
//sky

textures/kale/seasun_sky1
{
	qer_editorimage textures/seasun/seasun_view.jpg
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_globaltexture
	q3map_surfacelight 150
	q3map_lightmapFilterRadius 0 8
	q3map_skyLight 100 3
	surfaceparm sky
	q3map_sunExt 0.7 0.3 0.2 100 50 75 2 16
	skyparms env/seasun/seasun - -
	nopicmip
	nomipmaps

{
		map textures/skies/killsky_2.tga
		blendfunc GL_ONE GL_ONE
		tcMod scroll -0.025 -0.03
		tcMod scale 3 2
	}
}
//phong_rocks

textures/kale/pjrocks16_phong
{
q3map_nonplanar
q3map_shadeangle 140
qer_editorimage textures/stone/pjrock16.jpg
{
map $lightmap
rgbGen identity
}
{
map textures/stone/pjrock16.jpg
blendFunc filter
}
}

//dsi glass

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


//snowflakes

textures/kale/snowflake1_1a
{
	qer_editorimage textures/kale/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -5 -6 380 sawtooth 0 1 0.279855 0.12
	{
		clampmap textures/kale/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		rgbGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		tcMod stretch sawtooth 0.800000 0.340024 0.279855 0.327086
		blendfunc add
	}
}

textures/kale/snowflake1_2a
{
	qer_editorimage textures/kale/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.382465 0.913984 256 sawtooth 0 1 0.086856 0.13
	{
		clampmap textures/kale/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		rgbGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		tcMod stretch sawtooth 0.800000 0.370201 0.086856 0.584348
		blendfunc add
	}
}

textures/kale/snowflake1_3a
{
	qer_editorimage textures/kale/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.679708 -1.398174 256 sawtooth 0 1 0.287179 0.125
	{
		clampmap textures/kale/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		rgbGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		tcMod stretch sawtooth 0.800000 0.317253 0.287179 0.414235
		blendfunc add
	}
}

textures/kale/snowflake1_4a
{
	qer_editorimage textures/kale/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 3.818927 -1.426533 256 sawtooth 0 1 0.465835 0.13
	{
		clampmap textures/kale/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		rgbGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		tcMod stretch sawtooth 0.800000 0.262371 0.465835 0.277784
		blendfunc add
	}
}

textures/kale/snowflake1_1b
{
	qer_editorimage textures/kale/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -1.038256 -4.559022 384 sawtooth 0 1 0.279855 0.12
	{
		clampmap textures/kale/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		rgbGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		tcMod stretch sawtooth 0.800000 0.340024 0.279855 0.327086
		blendfunc add
	}
}

textures/kale/snowflake1_2b
{
	qer_editorimage textures/kale/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.382465 0.913984 384 sawtooth 0 1 0.086856 0.13
	{
		clampmap textures/kale/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		rgbGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		tcMod stretch sawtooth 0.800000 0.370201 0.086856 0.584348
		blendfunc add
	}
}

textures/kale/snowflake1_3b
{
	qer_editorimage textures/kale/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.679708 -1.398174 384 sawtooth 0 1 0.287179 0.125
	{
		clampmap textures/kale/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		rgbGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		tcMod stretch sawtooth 0.800000 0.317253 0.287179 0.414235
		blendfunc add
	}
}

textures/kale/snowflake1_4b
{
	qer_editorimage textures/kale/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 3.818927 -1.426533 384 sawtooth 0 1 0.465835 0.13
	{
		clampmap textures/kale/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		rgbGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		tcMod stretch sawtooth 0.800000 0.262371 0.465835 0.277784
		blendfunc add
	}
}

//water

textures/kale/water
	{
		qer_editorimage textures/liquids/pool3d_3.tga
		qer_trans .5
		q3map_globaltexture
		surfaceparm trans
		surfaceparm nonsolid
		surfaceparm nodlight
		surfaceparm water
		cull disable
	
		
		{ 
			map textures/liquids/pool3d_5.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_6.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_3.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/kale/water2
	{
		qer_editorimage textures/liquids/pool3d_3.tga
		qer_trans .5
		q3map_globaltexture
		surfaceparm trans
		surfaceparm water
		surfaceparm nonsolid

		cull disable	
	
		
		{ 
			map textures/liquids/pool3d_5.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_6.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_3.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		
		}

}

//thanks and greetings

textures/kale/kfs1-thanksto1shader
	{
		qer_editorimage textures/kale/kfs1-thanksto.jpg
		surfaceparm nolightmap
		surfaceparm nodlight
		{
		map textures/kale/kfs1-thanksto.jpg
	}
}

textures/kale/kfs1-hello1shader
	{
		qer_editorimage textures/kale/helloto.jpg
		surfaceparm nolightmap
		surfaceparm nodlight
		{
		map textures/kale/helloto.jpg
	}
}

//vine

textures/kale/vinehanging
{
	qer_editorimage textures/sockter/vine06.tga
	cull disable
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/sockter/vine06.tga
		alphaFunc GE128
		depthWrite
		rgbGen vertex
		}
		{
		map $lightmap
		rgbGen identity
		blendFunc filter
		depthFunc equal
	}
}