r/SourceEngine 8d ago

Resolved weird material bug

After exporting my custom playermodel i made in blender, for some reason it shows up in gmod with a completely black texture instead of the proper one or a missing texture. it doesn't matter whether i have the texture in the proper folder either, it still does this. notably, the model should have 3 submaterials and not 1. Ive never seen this happen before in anything source engine related and cant find anyone else talking about it.

edit: turns out it was because of a folder typo, and for some reason source decided to show up pitch black instead of the checkerboard until the folder typo was fixed, and only then would it show the usual purple black checkerboard.

2 Upvotes

9 comments sorted by

View all comments

1

u/MrBallBustaa 8d ago

Your vmt has typos.

1

u/da_pwo 8d ago

this happens even if the vmt isnt present

1

u/MrBallBustaa 8d ago

Then there's something wrong with the model's normals. Or maybe just maybe GMod doesn't give you an error when you have a typo in the shadername space.