Page 1 of 1

Phong Not Working

Posted: Fri Jul 26, 2013 11:04 am
by Lucky9Two
I can't get phong to apply to my model no matter what my .vmt says.

Image

Code: Select all

"VertexLitGeneric"
{
	"$basetexture" "jessev92/armymen/greensolid"
	"$bumpmap" "jessev92/armymen/natg_green/NationalGuardTop_n"

	"$halflambert" 1
	$model 1
	$nocull 1
	$phong 1
	"$phongexponent" "5"
	"$phongboost" "1"	
	"$phongalbedoboost" "5"
	"$phongalbedotint" 1
	"$phongdisablehalflambert" 1

	"$envmap" "env_cubemap"
	"$envmapfresnel" "1"
	"$envmapcontrast" "1"
	"$envmapFresnelMinMaxExp" "[0 .5 1]"
	"$envmaptint" "[.005 .005 .005]"
	
	"$rimlight" "1"												// To enable rim lighting (requires phong)
	"$rimlightexponent" "75"										// Exponent for phong component of rim lighting	
	"$rimlightboost" "0.07"	
}

Re: Phong Not Working

Posted: Fri Jul 26, 2013 11:56 am
by Lucky9Two
Nevermind, I didn't know you had to have a bump map in order for the phong to work.