Re: Compiling Model with Normal Maps
Posted by kyaranger on
Tue Dec 12th 2006 at 10:16am
Posted
2006-12-12 10:16am
4 posts
0 snarkmarks
Registered:
Oct 3rd 2006
<span style="color: darkgreen;">Hello, I created a model in 3ds max 8 and the textures for this model consists of 3 tga files, it's normal texture, the Specular map and the Normal map. Anyway, I exported the model as .smd format. I then compiled the model into an .mdl file. I then took my tga's and converted them into vtf files, I then created a vmt file</span> "
"LightmappedGeneric"
{
"$basetexture" "mynormaltexture"
"$surfaceprop" "metal"
"$bumpmap" "mynormaltexture_normal"
}
I load the model in the hl2 model viewer, and the model appears black.
If I change the lightmappedgeneric to something else, like VertexlitGeneric, the model loads just fine but theres no visible bumpmap.
My questions are, how do i properly get bumpmap/normals to work in hl2 and, how do I get Specular map to work?
I hope this made sense :/
Thank you<br style="color: yellow;">