#how do i get rid of this wireframe
1 messages · Page 1 of 1 (latest)
its probably something obvious but im new to the game
missing or unusable shader
what do i do to fix it
could use the submaterial tool to change it to some invisible material
alright ill try
do i need to add a custom material? the submaterial tool just turns the entire model to that material
what's your VMT files look like?
wdym
i downloaded the model using a workshop downloader website and theres a bunch of vmt files here
these
yes what's in the-dear god
anyways
this model uses two faces stacked on top of eachother to achieve some effect source isn't usually capable of, but the shader only exists in SFM or some external shader dll
at least the overlay material does
so you have two different material shaders (vmts) basically occupying the same space in 3d
the submaterial tool lets you pick out these materials, and use any other material you know of, and replace specific materials on the model.
if it's replacing all materials, then you're using the submaterial tool wrong.
the first option is all materials. scroll down the list to replace just that material.
alternatively, edit your broken vmt files so that they do nothing (like an empty vtf vertexlitgeneric I guess? I'll check the dev wiki real quick)
oh yeah i can change individual parts
some of them have the default wireframe texture, can i find these vmts and just delete them?
or do they need to be there
they don't have wireframe textures
wireframe is the error fallback for broken shaders
it shows this
yep, that's one of the broken vmt files.
don't delete it, you'll just get pink checkers instead
how do i fix it
edit the vmt file to do nothing
empty.... i'm pretty sure also just gives a pink/black checker
Yep, CustomHero is not a shader that exists in gmod
anyways
replace all of it with this:
{
"$basetexture" "null"
"$vertexcolor" 1
"$vertexalpha" 1
"$nolod" 1
}```
yeah, it will refresh the materials when you save them
alright