Decrease target rectpacking density

This commit is contained in:
Jarrod Doyle 2024-08-26 14:30:40 +01:00
parent 42cc08363e
commit 261d5fe399
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ public partial class Mission : Node3D
{ {
var bounds = Timing.TimeStage("RectPack", () => var bounds = Timing.TimeStage("RectPack", () =>
{ {
RectanglePacker.Pack(packingRects, out var bounds); RectanglePacker.Pack(packingRects, out var bounds, PackingHints.FindBest, 0);
return bounds; return bounds;
}); });
GD.Print($"Creating lightmap with bounds: ({bounds.Width}, {bounds.Height})"); GD.Print($"Creating lightmap with bounds: ({bounds.Width}, {bounds.Height})");