May 28th, 2021 - Q&A: What was the main issue with implementing Lights?

May 28th, 2021

Q&A: What was the main issue with implementing Lights?

https://www.youtube.com/watch?v=dyqOMITwLsY&t=102

Suggested Wiki Refrence Code

Topics

    Transcription

    1. Snutt

      nice cool all right so let's dive into it let's talk about lights because that's the main thing that's new in update 4 and i think one of the hypest things in update 4. so what was like the main issue with implementing lights and like why couldn't we just slap lights into the game with like the objects that we had sort of

    2. Ben

      so first case is the the infamous object limit that's one of the reasons because if you want to build an

      you need to have the object in the world.

      And we couldn't allow that because that would just add thousands and thousands of objects that would do nothing most of the time.

      So we had to find a nice solution for that.

      And second of it, lights are really expensive when they overlap with each other.

      That's something that we had to find some kind of solution for too.

      And also to make it nice for multiplayer, like just imagine somebody

      has the spawn point with 5,000 lights on the hub, the player that joins it can't leave it because their computer will just blow up.

    3. Snutt

      Right.

    4. Ben

      So for all those things, we had to implement a system to manage lights.

      And in the end, it was a system to manage objects in general.