From 07b03619a255e062591c63a1da3d0cb158e62262 Mon Sep 17 00:00:00 2001 From: Garux Date: Tue, 5 Aug 2025 15:27:03 +0500 Subject: [PATCH] shader editor: colorize surfaceparm nomarks, nodlight as runtime params --- radiant/gtkdlgs.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index f7fafeb9..d743efbc 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -824,11 +824,9 @@ static const std::vector g_shaderGeneralFormats{ "metalsteps", "monsterclip", "nodamage", - "nodlight", "nodraw", "nodrop", "noimpact", - "nomarks", "nolightmap", "nosteps", "nonsolid", @@ -845,6 +843,12 @@ static const std::vector 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",