"VertexLitGeneric"
{
	"$baseTexture" "models/weapons/v_sniperrifle/v_sniperrifle"
	"$bumpmap" "models/weapons/v_sniperrifle/v_sniperrifle_normal"
	
	"$phong" "1"
	"$phongboost" "0.6"
	"$phongexponent" "15"
	"$phongfresnelranges" "[1 3 2]"

	"$tempvar" "0"

	"$basephongboost" "0.6"
	"$basephongexponent" "15"

	"$commadd_phongexponent" "30"
	"$commadd_phongboost" 	"4.5"
	"$commweapon"		"0"

	// Rim lighting parameters
	"$rimlight" "1"			
	"$rimlightexponent" "20"	
	"$rimlightboost" ".2"

	"$glowcolor" "1"

	// Cloaking
	"$cloakPassEnabled" "1"
	"Proxies"
	{
		"weapon_invis"
		{
		}
		"ModelGlowColor"
		{
			"resultVar" "$glowcolor"
		}
		"Equals"
		{
			"srcVar1"  "$glowcolor"
			"resultVar" "$selfillumtint"
		}
		"Equals"
		{
			"srcVar1"  "$glowcolor"
			"resultVar" "$color2"
		}
		"CommunityWeapon"
		{
			"resultVar" "$commweapon"
		}
		"Multiply"
		{
			"srcVar1"  "$commweapon"
			"srcVar2"  "$commadd_phongexponent" 
			"resultVar" "$tempvar" 
		}
		"Add"
		{
			"srcVar1"  "$tempvar" 
			"srcVar2"  "$basephongexponent" 
			"resultVar" "$phongexponent" 
		}
		"Multiply"
		{
			"srcVar1"  "$commweapon"
			"srcVar2"  "$commadd_phongboost" 
			"resultVar" "$tempvar" 
		}
		"Add"
		{
			"srcVar1"  "$tempvar" 
			"srcVar2"  "$basephongboost"
			"resultVar" "$phongboost" 
		}

	}
}
