From 91bddd5c12cd84a10be15546c025db891fc3d805 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sat, 3 Aug 2024 17:14:20 +0100 Subject: [PATCH] Remove dummy light generation --- project/code/Mission.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/project/code/Mission.cs b/project/code/Mission.cs index ba400e9..6be5ee5 100644 --- a/project/code/Mission.cs +++ b/project/code/Mission.cs @@ -227,17 +227,6 @@ public partial class Mission : Node3D }; cellNode.AddChild(occluderInstance); - var r = new Random(); - if (r.NextSingle() > 0.9 && cell.SphereRadius > 5.0) - { - var light = new OmniLight3D - { - Position = cell.SphereCenter.ToGodotVec3(), - OmniRange = cell.SphereRadius * (r.NextSingle() + 1.0f) * 0.5f, - }; - // cellNode.AddChild(light); - } - AddChild(cellNode); }