-
Автор темы
- #1
Glow are not working in matchmaking, but it works on local with bots.
Can someone help me fix it? :) Thanks
MM:
local with bots:
Glow code:
Findmaterial:
Can someone help me fix it? :) Thanks
MM:
local with bots:
Glow code:
C++:
std::ofstream("csgo/materials/glowOverlay.vmt") << R"#("VertexLitGeneric" {
"$additive" "1"
"$envmap" "models/effects/cube_white"
"$envmaptint" "[1 1 1]"
"$envmapfresnel" "1"
"$envmapfresnelminmaxexp" "[0 1 2]"
"$alpha" "0.8"
})#";
C++:
materialGlow = g_MatSystem->FindMaterial("glowOverlay", "Model textures");