std::ofstream("dev/dev_camo.vmt") << R"#("BaseTimesMod2xEnvMap"
{
"$basetexture" "dev/dev_camo"
"$envmap" "dev/dev_camoenvmap"
"Proxies"
{
"Camo"
{
"camopatterntexture" "hl2/materials/dev/dev_camo.tga"
"camoboundingboxmin" "[ 0.00 0.00 0.00 ]"
"camoboundingboxmax" "[ 1.00 1.00 1.00 ]"
"surfaceprop" "concrete"
}
}
})#";
static Materials* Netting = csgo::Get().MaterialSystem->FindMaterial("dev/dev_camo", TEXTURE_GROUP_MODEL);
if (!Netting)
return;
Netting->Alpha(csgo::Get().Config.Visuals.Local.BlendChams);
csgo::Get().ModelRender->FMO(Netting);
csgo::Get().RenderView->SCM(color);
csgo::Get().Local->DrawModel(0x1, csgo::Get().Local->GetModelInstance());
csgo::Get().ModelRender->FMO(nullptr);