Remove dummy light generation
This commit is contained in:
parent
c9353f0100
commit
91bddd5c12
|
@ -227,17 +227,6 @@ public partial class Mission : Node3D
|
||||||
};
|
};
|
||||||
cellNode.AddChild(occluderInstance);
|
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);
|
AddChild(cellNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue