"Unlittwotexture"
{
	"$basetexture" "Effects/Combineshield/comshieldwall"
//	"$texture2" "Effects/com_shield002b"
	"$texture2" "Effects/Combineshield/comshieldwall"

// MANUALLY SCALE THIS IN HAMMER    NOT IN MATERIAL
//$basetexturetransform "center .5 .5 scale 4 4 rotate 0 translate 0 0"
//$basetexturetransform2 "center .5 .5 scale 4 4 rotate 0 translate 0 0"
	"$translucent" "1"
	"$envmap" "env_cubemap"
	"$envmaptint" "[1 1 1]"
	"$gnoise" "1"
	"$playerdistance" "0"
	"$additive" 1
	"$alpharesult" "1"
	"$smallamount" ".1"
	"$alpharesultmin" "1"
	"$alpharesultmax" "1"
	"$nodecal" 1
	"$hundred" "100"
	"$largeamount" "1"
	"$playerdistance2" "1"
	"$ten" "24"
	"$frameminusten" "1"

	"Proxies"
	{

		"PlayerProximity"
		{
			"resultVar" "$playerdistance2"
			"scale"  .2
		}	
		"Subtract"
		{
			"srcVar1" "$playerdistance2"
			"srcVar2" "$ten"
			"resultVar" "$frameminusten"
		}
		"Clamp"
		{
			"srcVar1"	"$frameminusten"
			"min"		"0"
			"max"		"30"
			"resultVar" "$frame2"
		}
		"Clamp"
		{
			"srcVar1"	"$frameminusten"
			"min"		"0"
			"max"		"30"
			"resultVar" "$frame"
		}

		"PlayerProximity"
		{
			"resultVar" "$playerdistance"
			"scale" 0.0009 
		}	
		"GaussianNoise"
		{
			"minVal" .8
			"maxVal" 1	
 			"mean" .7
			"halfwidth" .3
			"resultVar" "$gnoise"
		}
		"Subtract"
		{
			"srcVar1" "$gnoise"
			"srcVar2" "$playerdistance"
			"resultVar" "$alpharesultmin"
		}
		"Multiply"
		{
			"srcVar1" "$hundred"
			"srcVar2" "$playerdistance"
			"resultVar" "$largeamount"
		}
		"Equals"
		{
			"srcVar1" "$playerdistance"
			"resultVar" "$envmaptint[1]"
		}	
		"Add"
		{
			"srcVar1" "$alpharesultmin"
			"srcVar2" "$smallamount"
			"resultVar" "$alpharesultmax"
		}	
		"Sine"
		{
			"sineperiod"	1.08
			"sinemin"	"$alpharesultmin"
			"sinemax"	"$alpharesultmax"
			"resultVar"	"$alpha"
		}


		"TextureScroll"
		{
			"texturescrollvar" "$texture2transform"
			"texturescrollrate" .1
			"texturescrollangle" -45
		}
	}
}