Phong: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:


==VMT Parameters==
==VMT Parameters==
"$phongboost" "X" Increases the overall phong effect by X factor, default seems to be 1
"$phongfresnelranges" "[1 3 8]"
"$phongexponenttexture" "models\player\american\american_body_exp"
"$phongexponent" "1" Seems to apply a flat scaling in place of $phongexponenttexture, usually comment out
"$phongalbedotint" "1"


==Exponent Map==
==Exponent Map==

Revision as of 14:49, 4 December 2006

Phong is a rendering technique introduced to the Source Engine with Half-Life 2: Episode One. Phong looks best on a normal mapped model with some bit of specularity.

Phong supports two additional texture parameters

  • Exponent Map - $phongexponenttexture - Sort of gloss map where black is matte and white is glossy

VMT Parameters

"$phongboost" "X" Increases the overall phong effect by X factor, default seems to be 1 "$phongfresnelranges" "[1 3 8]" "$phongexponenttexture" "models\player\american\american_body_exp" "$phongexponent" "1" Seems to apply a flat scaling in place of $phongexponenttexture, usually comment out "$phongalbedotint" "1"

Exponent Map

This article is a stub. You can help by adding to it.