• Having Materials trouble with the .qc
    5 replies, posted
I cant get this figured out. I just recently discovered the joy of getting my models to work with source. And they do. But just one problem: The texture's appear as invisible. The model is completley see-through! I'm doing the textures correctly. I both have the .vmf and .vmt. The .vmf was originally a .tga that's 512 x 512. But I think I am not doing the path right in the .qc file. Here would be my material code line: [code] $cdmaterials "models\mycustommodel\" // Model uses material "materials\models\mycustommodel\model.vmt" [/code] Is there something wrong with that line of code which makes the textures appear invisible?
seems more like an issue with the texture - what shader do you use? Lightmappedgeneric or vertexlitgeneric?
Lightmappedgeneric
change it to vertexlitgeneric then. Lightmappedgeneric is used for world brushes, and due to their textures being more common, vtfedit switches to the mode.
Holy shit! Thanks! My model works now :D
Oh my god // Model uses material "materials\models\mycustommodel\model.vmt" is a comment generated by the mdldecompiler, it's not necessary in qc's
Sorry, you need to Log In to post a reply to this thread.