// This is an edit of the Maritime Emerald water VMT.
// http://www.minerality.fr/bulletcropsproject/index.php

"Water"
{

	<dx90
	{
		 	"$fallbackmaterial" "maritime/nature/water_emerald_dx80"
	}


	"$scale" "[1 1]"

	"$bumpmap" "water/tfwater001_dudv"
	"$normalmap" "water/tfwater001_normal"

	"$surfaceprop" "water"
	"$bottommaterial" "maritime/nature/water_emerald_beneath.vmt"
	"$bumpframe" "0"

	"%keywords" "tf, bulletcrops"
//	$forcecheap 1
	
	"%tooltexture" "dev/tfwater_normal"
	"%compilewater" 1
	"$abovewater" 1
	"$nofresnel" "1"

	"$envmap" "env_cubemap"	

	"$refracttexture" "_rt_WaterRefraction"
	"$refractamount" "0.1"
	
	"$reflecttexture" "skybox/sky_citynight01dn"
	"$reflectamount" "1"
	
	"$fogenable" 1
	"$fogcolor" "{42 52 64}"
	"$fogstart" "128"
	"$fogend" "512"

	"$texturescroll" 1
	
	"Proxies"
    
		{
            "TextureScroll"
            {
                "textureScrollVar" "$bumptransform"
                "textureScrollRate" 0.0625
                "textureScrollAngle" 260
            }
        }
		
		"WaterLOD"
		{
			// fixme!  This has to be here, or material loading barfs.
			"dummy" 0
		}
	
}

// BulletCrops Project
// http://www.minerality.fr/bulletcropsproject/
