mirror of
https://github.com/godotengine/godot.git
synced 2026-02-07 19:32:36 +00:00
Previously, each mesh was paired up with the first N of each Omni- and Spot-lights. Now each light is scored based on its distance to the mesh, energy, and range. The new code uses a heap to track the best N lights (of each type) for predictability.
7.0 KiB
7.0 KiB