shader editor: colorize surfaceparm nomarks, nodlight as runtime params

This commit is contained in:
Garux
2025-08-05 15:27:03 +05:00
parent c812caf013
commit 07b03619a2
+6 -2
View File
@@ -824,11 +824,9 @@ static const std::vector<ShaderFormat> g_shaderGeneralFormats{
"metalsteps",
"monsterclip",
"nodamage",
"nodlight",
"nodraw",
"nodrop",
"noimpact",
"nomarks",
"nolightmap",
"nosteps",
"nonsolid",
@@ -845,6 +843,12 @@ static const std::vector<ShaderFormat> g_shaderGeneralFormats{
"water",
}
},
{
"surfaceparm %s", c_pageSurf, c_colorKeyLv1E, { // these take effect w/o bsp rebuild
"nodlight",
"nomarks",
}
},
{
"cull %s", c_pageGen, c_colorKeyLv1E, {
"none",