QuoteAdded support for Phong on world materials. See Train for examples of such materials.
http://www.reddit.com/r/GlobalOffens…date_for_42815/
Just wanted to let you guys know.
EDIT: here's the VMT from the modified texture in Train.
Code
"LightmappedGeneric"
{
"$basetexture" "metal/hr_metal/metal_grated_d"
"$bumpmap" "metal/hr_metal/metal_grated_d_normals"
"$surfaceprop" "Metal"
"$phong" "1"
"$phongexponent" "105.0"
"$phongMaskContrastBrightness" "[.5 8]"
"$phongAmount" "[4 4 4 1.0]"
"$normalmapalphaenvmapmask" "1"
//"$envmap" "env_cubemap"
//"$envmaptint" "[.3 .3 .3]"
"$detail" "detaildetailconcrete001a"
"$detailscale" "[4 4 4]"
"$detailblendfactor" "1"
}
Display More
I have no idea what "phongAmount" or "phongMaskContrastBrightness" stands for. Hopefully we'll get some doc soon.