Commit 7ca8a863

   Apply local light levels to objects (WiP)

   Relates to #45

Hello! After doing the same for both the floor tiles and wall pieces, the same technique is now applied to generic models. As is visible in the video below, this is done on a per-vertex basis and not for an entire object, as otherwise models that are in-between two tiles with substantially different lighting information would look more than a little odd (looking specifically at you here, door and window models).
The whole thing comes with the big caveat, that this still only supports a single set of light information per tile and obviously the calculation of these light values per room is still little more than a stub.
Be that as it may, it still is a nice step forward and doesn’t look too bad either 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *