Phong Not Working

Need help Modeling Props and Physical Objects for your Maps.
Post Reply
User avatar
Lucky9Two
Beta Tester
Beta Tester
Posts: 244
Joined: Sat Apr 10, 2010 8:46 am
Location: Mojave, California
Contact:

Phong Not Working

Post 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"	
}
Image

"For though I fly through the shadow of the Valley of Death, I will fear no evil, for I am at 70,000 feet and climbing"
User avatar
Lucky9Two
Beta Tester
Beta Tester
Posts: 244
Joined: Sat Apr 10, 2010 8:46 am
Location: Mojave, California
Contact:

Re: Phong Not Working

Post by Lucky9Two »

Nevermind, I didn't know you had to have a bump map in order for the phong to work.
Image

"For though I fly through the shadow of the Valley of Death, I will fear no evil, for I am at 70,000 feet and climbing"
Post Reply