My normal map is not working, what am I missing?

javierdl

2009-10-29 10:10:41

This is my VMT:

"LightmappedGeneric"
{
"$basetexture" "models/custom_models/cherry_pie"
"$normalmap" "models/custom_models/cherry_pie_normalmap"
"$surfaceprop" "Watermelon"
}


I can only see my model in Model Viewer as long as I'm using this VMT:

"VertexLitGeneric"
{
"$baseTexture" "models/custom_models/cherry_pie"
}

Thanks guys,

JDL

boshed

2009-10-30 05:01:13

Try this:

"VertexLitGeneric"
{
"$basetexture" "models/custom_models/cherry_pie"
"$bumpmap" "models/custom_models/cherry_pie_normalmap"
"$surfaceprop" "Watermelon"
"$model" "1"
}

It's also best to use a standard $surfaceprop type because otherwise you will need to pack a custom propdata.txt into your map and that may have unpredictable results if HL2DM's standard propdata.txt is ever changed in future updates. Flesh.small seems to be the best choice.