textures/krace2/water1
{
	qer_editorimage textures/krace2/water1.tga
	q3map_globaltexture
	surfaceparm trans
	qer_trans .5
	surfaceparm nonsolid
	surfaceparm water
	surfaceparm nolightmap
	q3map_surfacelight 200

	//deformVertexes wave <div> <func> <base> <amplitude> <phase> <freq>
	tesssize 64
	deformVertexes wave 64 sin 1 .5 0.25 0.6 

	{ 
		map textures/krace2/water1.tga
		blendFunc add
		tcmod scale .5 -.2
		tcmod scroll .05 -.02
	}
	{ 
		map textures/krace2/water2.tga
		tcmod scale 4 4
		blendFunc add
		tcmod scroll -.7 .7
	}
	

	{
		map $lightmap
		blendFunc GL_dst_color GL_zero
		rgbgen identity		
	}

	{
		map textures/krace2/watershine.tga
		blendfunc add
		tcGen environment 
		tcmod scale 2 2
	}

}

textures/krace2/water-flow
{
	qer_editorimage textures/krace2/waterflow-editor.tga
	q3map_globaltexture
	surfaceparm trans
	qer_trans .5
	surfaceparm nonsolid
	surfaceparm water
	surfaceparm nolightmap
	q3map_surfacelight 200

	//deformVertexes wave <div> <func> <base> <amplitude> <phase> <freq>
	tesssize 64
	deformVertexes wave 64 sin 1 .5 0.25 1.6 

	{ 
		map textures/krace2/water1.tga
		blendFunc add
		tcmod scale .5 -.2
		tcmod scroll -1 0
	}
	{ 
		map textures/krace2/water2.tga
		tcmod scale 4 4
		blendFunc add
		tcmod scroll .2 -.2
	}
	

	{
		map $lightmap
		blendFunc GL_dst_color GL_zero
		rgbgen identity		
	}

	{
		map textures/krace2/watershine.tga
		blendfunc add
		tcGen environment 
		tcmod scale 2 2
	}
}

textures/krace2/ch_sky-bright
{
	qer_editorimage textures/cha0s_ws/ch_sky_night_back.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm sky
	q3map_surfacelight 300
	q3map_sun 0.27 0.4 0.51 155 170 33
	skyParms - 512 -
	{
		map textures/cha0s_ws/ch_sky_night_back.tga
		tcMod scale 2 2
		tcMod scroll 0.1 0.1
		depthWrite
	}
	{
		map textures/cha0s_ws/ch_sky_night_front.tga
		blendfunc add
		tcMod scale 3 3
		tcMod scroll 0.2 0.2
	}
}