Textures not showing up on model

Okay, I don’t think I’ve had this problem before (to such an extent I can’t fix it myself), and have successfully compiled lots of models in the past without this problem, using more or less the same QC.

These are the paths I have the model/materials in just for reference:

half-life 2\hl2\models\voltlight\Window_Small
half-life 2\hl2\materials\models\voltlight\Window_Small

All the textures are in place, along with VMTs, of course.

Here is an example of one of the VMTs:


"VertexLitGeneric"
{
	"$basetexture" "models/voltlight/Window_Small/Top_Circle_dif"
	"$bumpmap" "models/voltlight/Window_Small/Top_Circle_Norm"
	"$surfaceprop" "rock"
}

And here is the QC:



$cd "C:/Documents and Settings/volt/My Documents/Selby/Window_Frames/Small_Window"
$modelname voltlight/Window_Small/Window_Small.mdl
$cdmaterials "models/voltlight/Window_Small/"
$body "Body" "Window_Small_Ref.smd"
$scale 1.0
$staticprop
$surfaceprop "rock"
$upaxis Y
$sequence "idle" "Window_Small_Still.smd" fps 30

$collisionmodel "Window_Small_Phys.smd"
{
//Mass in kilograms
$mass 5.0
$concave
}


For some reason, the textures don’t show up in the model viewer.

Invisible or Pink and Black?

Pink and Black.

What are your VMT and VTF files called and what were the textures you applied to the model called?

Edit: mis interpreted a bit.

I believe they were the same, as they were just conversions of each other. (The model was using PNG texures)

I can’t check right now, as I’m not on my main PC.

PNGs sometimes dont convert correctly, but it more likely you’ve named something wrong by accident.

I’ll check tomorrow, thanks for the help.

Are the names of the texture you used to uv map it, and the texture you’ve got in the folder the same?

np :slight_smile: tell me if that is the problem or not

Okay guys, thanks for all the help, I’ve found the problem, and fixed it.

Solution:
The VMT was not named the same as the VTF.

Thought that might be it, but the actual reason is the VMT is not called the same as the original texture you applied to the model (which i’m assuming the VTF is called), you don’t actually have to call the VTF anything in particular as long as you call it what you have in the VMT :stuck_out_tongue:

Ah, I see, thanks for the information.

np :slight_smile: If you have anymore problems feel free to ask and i’ll try and help best I can ^^