Commit e6c7919a

Apply the tile local light information from the storage buffer to wall tiles (and simplify some of wall vertex draw code)

Relates to #46


Hi! Continuing the work on the previous commit, now not just the floor tiles, but also wall pieces properly use the globally available lighting data. The tricky part here was to map the vertex data to certain logical world tiles, as this is somewhat more complicated case than the floor tiles, which in their very nature are exactly that.. tiles. 🙂
Anyway, here’s wonderwall a short video of what that looks like in action:

Next up: doing the same for models, as they would still get the same global lighting information, even when standing in a room right now.

Leave a Reply

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