Add lm_bounce and lm_ao to ZDRayInfo

Make vktool ignore the existing lightmap lump
Ignore the lightmapper cvars in vktool
This commit is contained in:
Magnus Norddahl 2025-01-19 15:34:39 +01:00
commit d8d1742d0a
7 changed files with 34 additions and 10 deletions

View file

@ -844,6 +844,14 @@ public:
Level->LightmapSampleDistance = CheckInt(key);
break;
case NAME_lm_bounce:
Level->LightBounce = CheckBool(key);
break;
case NAME_lm_ao:
Level->AmbientOcclusion = CheckBool(key);
break;
default:
CHECK_N(Zd | Zdt)
if (0 == strnicmp("user_", key.GetChars(), 5))