Custom portal 2 model is blank [SOLVED]
This is my first time making a custom model for Portal 2, or any Source game for that matter. I've exported the model and I've gotten everything working except the model is white with no shading or anything.
http://i.imgur.com/8zEkvD9.png
There aren't any errors in the console, so I don't think its a missing texture. The model's VMT file is a barebones basic
LightmappedGeneric
{
$baseTexture "models/npcs/hover_turret/hover_turret"
}
I was gonna start refining things like the vmt file after I got it working. What's wrong here? Am I doing something wrong that's embarrassingly obvious?
Don't really know much about modeling, but you may want to try out:
VertexLitGeneric
{
$baseTexture "models/npcs/hover_turret/hover_turret"
}
Could you post a screenshot once you open it with the hex editor and scroll down to the bottom part?
I remember that the SMD file had "Texture.png" listed every other line, which was the name of the texture when the model was being made in Blender. I used a find and replace to replace them all with the path to the actual textures, but it still didn't work. Maybe that's why it's not working to begin with.
K, checked it out, and this is what it looks like:
http://i.imgur.com/PIVKKrK.png
The directory looks right. The model files are in models/npcs, and the texture files are in materials/models/npcs/hover_turret.
- hover_turret.VMT
- hover_turret.VTF
Inside the VMT file of course you must use the shader VertexLitGeneric as Arachnaphob already said, and the path already mentioned for the texture:
VertexLitGeneric
{
$baseTexture "models/npcs/hover_turret/hover_turret"
}
You mentioned you replaced the "texture.PNG" inside the .SMD reference file.... by "hover_turret.VMT"? this is important to check out before compiling the model...
Check these things out and confirm if all is ok.
About the texture size, as long as it is proportional to the one used in Blender, it is fine. I use to make textures double the original size when I need more detail in any model that I reskin 
Can you post the content of your .QC file and also say the folders where you have the files before compiling the model please?