"VertexLitGeneric"
{
	"$basetexture"	"models/player/pyro/pyro_blue_zombie"
	<dx90
	{
		 	"$bumpmap" "water/dx80_tfwater001_normal"
	}
	"$bumpmap" "water/tfwater001_normal"
	"$envmap" "effects/cubemapper"
	"$surfaceprop" "metal"
	"$halflambert" "1"

	"$selfillum" "1"
	"$selfIllumFresnel" "1"
	"$selfIllumFresnelMinMaxExp" "[0 18 13]" // 0.0 1.0 1.0 is the default

	"$alphatest" 1

	"$invulnlevel" "0"
	"$invulnexponent" "1"
	"$invulnfmax" "18"
	"$invulnscale" "0"
	"$invulnphong" "1"

	"$half" "0.5"

	"$invulnphongfading" "0"
	"$invulnphongfull" "1"
	"$invulnphongoutput" "1" 

	"$invulnexponentfading" "1"
	"$invulnexponentfull" "13"
	"$invulnexponentoutput" "1"
	
	"$invulnfmaxfading" "-31"
	"$invulnfmaxfull" "18"
	"$invulnfmaxoutput" "1"

	"$phong" "1"
	"$phongexponent"  "35"
	"$phongboost" "1"	
	"$lightwarptexture" "models/player/pyro/pyro_lightwarp"
	"$phongfresnelranges"	"[11 1 8]"
	
	// Rim lighting parameters
	"$rimlight" "1"		
	"$rimlightexponent" "11"
	"$rimlightboost" "5"	
	
	"Proxies"
	{
		"AnimatedTexture"
		{
			"animatedtexturevar" "$bumpmap"
			"animatedtextureframenumvar" "$bumpframe"
			"animatedtextureframerate" 70
		}
		"InvulnLevel"
		{
			"resultVar" "$invulnlevel"
		}
		"LessOrEqual"
		{
			"srcVar1"	"$invulnlevel"
			"srcVar2"	"$half"
			"lessEqualVar"	"$invulnphongfading"
			"greaterVar"	"$invulnphongfull"
			"resultVar"	"$invulnphongoutput"
		}
		"LessOrEqual"
		{
			"srcVar1"	"$invulnlevel"
			"srcVar2"	"$half"
			"lessEqualVar"	"$invulnfmaxfading"
			"greaterVar"	"$invulnfmaxfull"
			"resultVar"	"$invulnfmaxoutput"
		}
		"LessOrEqual"
		{
			"srcVar1"	"$invulnlevel"
			"srcVar2"	"$half"
			"lessEqualVar"	"$invulnexponentfading"
			"greaterVar"	"$invulnexponentfull"
			"resultVar"	"$invulnexponentoutput"
		}
		"Sine"
		{
			"resultVar" "$invulnfmax"
			"sineperiod" ".3"
			"sinemin" "$invulnfmaxoutput"
			"sinemax" "18"
		}
		"Sine"
		{
			"resultVar" "$invulnphong"
			"sineperiod" ".3"
			"sinemin" "$invulnphongoutput"
			"sinemax" "1"
		}
		"Sine"
		{
			"resultVar" "$invulnexponent"
			"sineperiod" ".3"
			"sinemin" "$invulnexponentoutput"
			"sinemax" "13"
		}

		"Equals"
		{
			"srcVar1" "$invulnexponent"
			"resultVar" "$selfillumfresnelminmaxexp[2]"
		}
		"Equals"
		{
			"srcVar1" "$invulnfmax"
			"resultVar" "$selfillumfresnelminmaxexp[1]"
		}
		"Equals"
		{
			"srcVar1" "$invulnphong"
			"resultVar" "$phongboost" 
		}



	}
}