Remove dummy light generation

This commit is contained in:
Jarrod Doyle 2024-08-03 17:14:20 +01:00
parent c9353f0100
commit 91bddd5c12
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 0 additions and 11 deletions

View File

@ -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);
}