
//water shaders adapted from NOP's Saberpeak tutorial
//

textures/xwater/xwater01
{
	qer_editorimage textures/xwater/xwater01.tga
	deformVertexes wave 80 sin 0 2 0 .3
	surfaceparm water
	{
		map textures/xwater/xwater01.tga
		blendFunc blend
		rgbGen vertex
		tcmod scroll .05 -.05 
	}
}


//textures/xwater/xwater01
//{
//	qer_editorimage textures/xwater/xwater01.tga
//	deformVertexes wave 80 sin 0 5 0 .3
//	cull front
//	surfaceparm water
//	surfaceparm trans
//	surfaceparm nonsolid
//	surfaceparm nomarks
//	surfaceparm pointlight
//	{ 
//		map textures/xwater/xwater02.tga
//		blendFunc blend
//		alphaGen vertex
//		tcmod scroll 0 -.1
//		depthWrite
//	}
//	{
//		map textures/xwater/xwater01.tga
//		blendFunc blend
//		rgbGen vertex
//		tcmod scroll 0 -.1 
//	}
//}

