textures/watertest/causticsshader
{
	qer_editorimage textures/liquids/pool3d_3.tga
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans .5
	q3map_globaltexture
	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/watertest/causticswater
{
	qer_editorimage textures/liquids/pool3d_3.tga
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans .5
	q3map_globaltexture
	cull disable
	waterfogvars ( 0.10 0.164 0.27 ) 32
	deformVertexes wave 64 sin 0.3 0.02 0 0.25
	surfaceparm water
	{
		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 textures/liquids_sd/siwa_water.tga
		blendFunc blend
		alphaFunc GE128
		rgbGen identity
		tcMod scale 0.5 0.5
		tcMod scroll -.02 .001
		fog on
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/watertest/causticsfog
{
	qer_editorimage textures/liquids/pool3d_3.tga
	q3map_globaltexture
	q3map_surfacelight 0
	surfaceparm fog
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm trans
	fogParms ( 0.10 0.164 0.27 ) 32
	{
		map textures/liquids/pool3d_3.tga
		blendFunc GL_DST_COLOR GL_ONE
		rgbGen identity
		tcMod scale -.05 -.05
		tcMod scroll .01 -.01
	}
	{
		map textures/liquids/pool3d_5.tga
		blendFunc GL_DST_COLOR GL_ONE
		rgbGen identity
		tcMod scale .05 .05
		tcMod scroll .01 -.01
	}
}

