Normal Maps - I dont get it :/


Dead
10-12-2005, 06:06 AM
Okay, i tried making this normal maps thing using this tut: link (http://developer.valvesoftware.com/wiki/Creating_Normal_Maps)

But i dont get it - my model allways looks like this, what am i doing wrong?

http://i6.photobucket.com/albums/y227/dead86/normal_map_error.gif

Thanks in advance for your help,

dead

Trp. Jed
10-12-2005, 06:53 AM
Did you set the normal map flag in the VTF header so that the material system knows the texture is a normal map?

You can set it with VTFEdit.

Dead
10-12-2005, 07:05 AM
Originally posted by Trp. Jed
Did you set the normal map flag in the VTF header so that the material system knows the texture is a normal map?

You can set it with VTFEdit.

You mean in the menu, when i save the vtf? Yes.

Trp. Jed
10-12-2005, 07:40 AM
What does your VMT file look like?

Dead
10-12-2005, 08:00 AM
Do i have to edit them, too?

"VertexLitGeneric"
{
"$basetexture" "models\player\german\german_body"
}

Trp. Jed
10-12-2005, 11:17 AM
Errrr yeah.

See the VTF is just a texture, but in Source, you don't apply the texture to a model, you apply a material - thats that the VMT file is. The VMT combines textures into materials.

What you need is.


"VertexLitGeneric"
{
"$model" 1
"$basetexture" "models\player\german\german_body"
"$bumpmap" "models\player\german\german_body_normal"
}

Kommie
10-12-2005, 11:45 AM
Trp. Jed for Mod of the Month

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.