From 0ce662733b8f547a94fd4727d7a247c626f1bb93 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Mon, 22 Jul 2024 20:17:12 +0100 Subject: [PATCH] Make occlusion culling more precise --- project/code/Mission.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/project/code/Mission.cs b/project/code/Mission.cs index e7fbd20..d0c7dec 100644 --- a/project/code/Mission.cs +++ b/project/code/Mission.cs @@ -141,6 +141,7 @@ public partial class Mission : Node3D var occluder = new ArrayOccluder3D(); occluder.SetArrays(vertices.ToArray(), indices.ToArray()); occluderInstance.Occluder = occluder; + occluderInstance.BakeSimplificationDistance = 0.0f; cellNode.AddChild(occluderInstance);