• Texture problems ingame
    17 replies, posted
Well, here I am again, and with more problems I recently learned how to compile a model for source. I've made a very simple (well, a block, for the purpose of simplifying the UV map) model to test, and learn how to get models into source, but when I spawn it ingame it appears invisible. I'm not sure what info I should provide, but I've got the .vmt and .vtf files in the right directory (and i'm sure that if they wheren't, it'd appear pink and black, not completely invisible) Also, when I apply a texture onto it (In garrysmod using the material tool) it appears phyically fine, however when under certain light, or when I crouch near it, it turns completely black. And another, possibly related thing, is that even though it weighs 25, it is barely effected by explosions and bullet force The .qc file [I]appears [/I]to be fine, but I'm hardly an expert on the matter If anyone wants, i'll provide all the files in the file structure they are currently, so that it can be scarrified by those who understand it better. Thanks for any help whatsoever
Change the "LightmappedGeneric" shader in the VMT to "VertexLitGeneric". They should really fix that on VTFEdit, the creating a VMT with the mapping shader thing ¬.¬
Wow, I could have never asked for a more specific answer Thanks a whole bunch, I'll test this right away
[QUOTE=one free man;24439622]Wow, I could have never asked for a more specific answer Thanks a whole bunch, I'll test this right away[/QUOTE] np :) We get that problem often here ~.~
[URL="http://img138.imageshack.us/i/semicolonwoopsemicolon.png/"][IMG_THUMB]http://img138.imageshack.us/img138/9627/semicolonwoopsemicolon.png[/IMG_THUMB][/URL] :woop:
nice ^^
Oh, and whilst I have a thread, I was wondering: Is it possible that when you UV unwrap something, it keeps its texture? So like, you don't have to edit the texture back in? Because with this one here, it would be quite hard to make the pictures (bitmaps) fit onto the template That would save a lot of trouble
I'm not sure what you mean, if you change the UV the texture wont fit the same, if you dont change the UV it will stay the same.
Sorry i've never been able to describe this right, i'll see if I can get a quick paint annotation going Alright this might help a little: [URL=http://img839.imageshack.us/i/imterribleatexplainingt.png/][IMG]http://img839.imageshack.us/img839/8251/imterribleatexplainingt.png[/IMG][/URL]
it already saves the texture that's on it.
Just to be sure, is this the place you go to create the texture? [URL="http://img830.imageshack.us/i/ohmanihopeivebeendoingt.png/"][IMG_THUMB]http://img830.imageshack.us/img830/9472/ohmanihopeivebeendoingt.png[/IMG_THUMB][/URL] And if so, where could I go or what do I press to keep the textures I've applied? And if not any of the above, what's going on? :gonk:
[QUOTE=one free man;24447191]Just to be sure, is this the place you go to create the texture? [URL="http://img830.imageshack.us/i/ohmanihopeivebeendoingt.png/"][IMG_THUMB]http://img830.imageshack.us/img830/9472/ohmanihopeivebeendoingt.png[/IMG_THUMB][/URL] And if so, where could I go or what do I press to keep the textures I've applied? And if not any of the above, what's going on? :gonk:[/QUOTE] You should never need to open that. Edit your UVW map via the Unwrap UVW modifier and apply textures from the material browser.
[URL=http://img80.imageshack.us/i/ohgodareyousupposedtodo.png/][IMG_THUMB]http://img80.imageshack.us/img80/7716/ohgodareyousupposedtodo.png[/IMG_THUMB][/URL] Is this necessary then? I'm starting to wish I hadn't gleamed this info from a none-dedicated video
[QUOTE=one free man;24447191]Just to be sure, is this the place you go to create the texture? [URL="http://img830.imageshack.us/i/ohmanihopeivebeendoingt.png/"][IMG_THUMB]http://img830.imageshack.us/img830/9472/ohmanihopeivebeendoingt.png[/IMG_THUMB][/URL] And if so, where could I go or what do I press to keep the textures I've applied? And if not any of the above, what's going on? :gonk:[/QUOTE] That only works in modelling programs, if you want to export textures you have to do it with an actual texture file applied.
[QUOTE=Silver Spirit;24447623]That only works in modelling programs, if you want to export textures you have to do it with an actual texture file applied.[/QUOTE] I [I]think [/I]I do, this is what it looks like when rendered: [URL="http://img819.imageshack.us/i/ifixedthecornersatleast.png/"][IMG_THUMB]http://img819.imageshack.us/img819/507/ifixedthecornersatleast.png[/IMG_THUMB][/URL]
Sorry for bumping this, but it would be great to get some advice, and I figure it could be better than making a whole new thread Essentially, as a recap of this mess, I'm not great at uvw mapping, so I don't know how to actually unwrap the texture, instead of saving it as a block colour by the "render uvw map" button.
I can't tell what you need answered. Rate me bad reading if the question is obvious.
Sorry I'm far from great at explaining things, even this is probably confusing Anyway, I learned how to UVW unwrap and whatnot from a none dedicated source, where it was just a side mention. (It was a tutorial on compiling for source) So I only know about the "render uvw map" button, and adding the texture to the blank colour template it renders; and so don't know how to unwrap the actual texture. Does it require a drastic change of technique, or is it quite similar?
Sorry, you need to Log In to post a reply to this thread.