From 261d5fe399bf0c52458a1e36f38df06edde183ad Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Mon, 26 Aug 2024 14:30:40 +0100 Subject: [PATCH] Decrease target rectpacking density --- project/code/TMV/Mission.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/code/TMV/Mission.cs b/project/code/TMV/Mission.cs index c621baa..2d3fae9 100644 --- a/project/code/TMV/Mission.cs +++ b/project/code/TMV/Mission.cs @@ -279,7 +279,7 @@ public partial class Mission : Node3D { var bounds = Timing.TimeStage("RectPack", () => { - RectanglePacker.Pack(packingRects, out var bounds); + RectanglePacker.Pack(packingRects, out var bounds, PackingHints.FindBest, 0); return bounds; }); GD.Print($"Creating lightmap with bounds: ({bounds.Width}, {bounds.Height})");