From d4761ca682f1e1f748bf161b85f271df136747a0 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sat, 22 Feb 2025 20:41:06 +0000 Subject: [PATCH] Update overlit warning --- KeepersCompound.Lightmapper/LightMapper.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/KeepersCompound.Lightmapper/LightMapper.cs b/KeepersCompound.Lightmapper/LightMapper.cs index 8472108..59d9b11 100644 --- a/KeepersCompound.Lightmapper/LightMapper.cs +++ b/KeepersCompound.Lightmapper/LightMapper.cs @@ -635,7 +635,14 @@ public class LightMapper if (overLit > 0) { - Log.Warning("{Count}/{CellCount} cells are overlit. Overlit cells can cause Object/Light Gem lighting issues. Try running with the --pvs flag.", overLit, worldRep.Cells.Length); + if (settings.FastPvs) + { + Log.Warning("{Count}/{CellCount} cells are overlit. Overlit cells can cause Object/Light Gem lighting issues. Try running without the --fast-pvs flag.", overLit, worldRep.Cells.Length); + } + else + { + Log.Warning("{Count}/{CellCount} cells are overlit. Overlit cells can cause Object/Light Gem lighting issues.", overLit, worldRep.Cells.Length); + } } Log.Information("Max cell lights found ({Count}/96)", maxLights);