Source Filmmaker

Source Filmmaker

Mixsup Jul 17, 2016 @ 12:53pm
[SOLVED] Phong not working on model?
I'm currently working on a custom model and am hitting a wall when it comes to getting phong to work. The VMT for the head of the model looks like this:

"VertexLitGeneric"
{
"$basetexture" "models/0Mixton/blade man/head_d"
"$bumpmap" "models/0Mixton/blade man/phong"

"$phong" "1"
"$phongexponent" "30"
"$phongboost" "15"
}

I've experimented with bump maps of my own before taking a blank bump map from another model, I've tried boosting the phong values to absurd numbers but there seems to be no visible difference.

The model as it looks now [i.imgur.com]

Any help would be appreciated, thanks.
Last edited by Mixsup; Jul 17, 2016 @ 2:06pm
< >
Showing 1-4 of 4 comments
Pipann Jul 17, 2016 @ 1:07pm 
oh neat, a megaman model. It's megaman right?

anyways, you have to add a phong material and use the $phongexponenttexture command in the vmt. I'm not entirely sure which modeling program you use or if you're just porting, but I hope this helps.

I'm not an expert on this by the way, I'm just going by a reference chart for 3ds Max.
Last edited by Pipann; Jul 17, 2016 @ 1:08pm
Zappy Jul 17, 2016 @ 1:17pm 
As far as I'm aware, to have phong, you need at least:

$Phong 1
$PhongBoost ~Number~
$PhongExponent ~Number~ OR $PhongExponentTexture ~Texture~
$PhongFresnelRanges ~3 Numbers~

And you don't have the last one. To use multiple numbers, you're gonna have to write something like "[A B C]", with quotes and square brackets, however you could just use a single number. (But I highly recommend 3 numbers. Personally, I use "[1 1 2]" in my materials.)
Last edited by Zappy; Jul 17, 2016 @ 1:20pm
Mixsup Jul 17, 2016 @ 1:21pm 
Thanks for the help, everyone. $PhongFresnelRanges did the trick!

Yep, Pipann, it's Blade Man from Mega Man 10. I'm planning to create the 8 robot masters from MM10 and release them as a pack - still a ways to go yet.
Pipann Jul 17, 2016 @ 1:25pm 
I checked back what the vmt codes are for a model I made the other day.

http://i.imgur.com/TixZ0mk.png

edit: Ah! Looks like you solved the problem. Way to go! :D

I've enjoyed the megaman battle network series a lot, so it's nice to see some megaman stuff coming this way. Looking forward to seeing them on the workshop!
Last edited by Pipann; Jul 17, 2016 @ 1:27pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jul 17, 2016 @ 12:53pm
Posts: 4