#Importing an Source Film Maker Model into Gmod, and this happens.
1 messages · Page 1 of 1 (latest)
“CustomHero” shader doesn’t exist in Gmod.
You should use “VertexlitGeneric”. To fix it. Navigate into the material folder and open the VMT files. On top, you’ll see “CustomHero”. Change it to “VertexlitGeneric”.
Also, You should remove the parameters that don’t exist in “VertexlitGeneric” shader.
@jolly terrace I'm interested in helping u through pm me for more details
I hope you don't expect to get payed for helping me
I dont understand the last part. Wdym ajudst the parameters and remove the parameters that dont exist
Just show me one of the VMT that uses "CustomHero" shader.
I'll tell you what to do.
- Replace
CustomHerotoVertexlitGeneric. - Replace
$normalmapto$bumpmap. - Remove
$maskmap2. If you show me what texture maskmap2 uses. I might be able to find a way to adapt it usingVertexlitgeneric. I guess it's a PBR map tho - Remove all specular parameters.
- Remove
$rimlightcolor,$rimlightscaleand$ambientscale. They don't exist in theVertexlitGenericshader. You can use$rimlightif you want rim lighting. - Remove
$maskenvbymetalness&$metalnessblendtofull. It doesn't exist inVertexlitGeneric. - Replace
$envmapintensitywith$envmaptint. Also, replace "0.125" with "[0.125 0.125 0.125]" or leave it as it's. I haven't personally tested using single float in$envmaptint.
Do the same for other VMT and it'll be fine.
Physically Based Rendering.
My work are paid, I think you find someone helping you right
Not supported in Gmod, but can use custom shaders in 32-bit.
then sorry, but i'll have to decline
it's pointless to ask to get payed for something like this tbh
i see
and so how am i supposed to show the texture for maskmap2
My price is just an affordable price
anyway, Open Equip1CH.vtf and show me what it is.
it keeps going btw
btw am i supposed to leave the spaces after i removed those things on step 3?
You can leave it. It doesn't matters.
Not in Notepad++. Open in VTFEdit.
oh my bad, sorry G.
I can't read that alien language 💀 .
Can you export it as a PNG or something and send it here? I want to check inside the color channels. Maybe there might be something useful.
Cuz' it looks like a multi-channel packed texture.
Is that even possibile?
to do?
Click "File". You'll see "Export".
aight?
Let me do some research.
alr
Well, it's going to take a while to adapt it.
huh?
You gotta unpack that metalness mask. and put them inside Phong exponent texture's green channel. and you might need to mess around with the Phong parameters..
but.
You can also export all those textures from VTF to PNG or TGA and use this tool.
https://github.com/koerismo/PBR-2-Source
also is this good?
You still need to remove $specularexponent, $specularcolor and $rimlightscale.
also, remove the spaces if you want to make it clean.
Good.
yes.
wait what
aren't i supposed to like
wait wait
which vmt files
which ones
i'll have to check every single one
Just open each one and do the same step you just did for current one if it uses 'Customhero" shader.
It's not that hard :)
Alright then. Should be good to go.
hold on though
let's not get our hopes high yet
Okay uh
i think something did happen
but it's still not right
from before
the eyes are still white
and the gloves are also still white
send me the VMT.
Yes.
Both.
this happens when i try to open it
wait i am confusing things?
vtm are supposed to be open with notepad right
Damn. I got timeout for a min for posting same files.?