can't get my normal maps to work
By Fire 3 years agoI've always had this problem with normal mapping: if the texture did not come with a normal map in the game (i.e. the ambassador) I cannot make them work. I added "$bumpmap" to the vmt, but it ceases to work. Here's my vmt code for a normal mapped pistol (that doesn't work) If you know the problem, please tell me how to fix it.
"VertexLitGeneric" { "$basetexture" "models\weapons\vpistol\vpistol" "$bumpmap" "models\weapons\vpistol\vpistol_normal"
"$phong" "1"
"$phongexponent" "25"
"$phongboost" "10"
"$lightwarptexture" "models\lightwarps\weapon_lightwarp"
"$phongfresnelranges" "[.25 .5 1]"
"$basemapalphaphongmask" "1"
"$rimlight" "1"
"$rimlightexponent" "4"
"$rimlightboost" "1"
"$glowcolor" "1"
(of course, below here would be the cloaking proxies and shit, but i didn't think that mattered)





