Lightmaps can be used to improve the ambiance of the maps. This is basically a huge "texture" (pixel buffer) the size of the map holding brightness values.
We could have two types of lightmaps:
Static, calculated once during map load (or could be baked into the map but this will make the file sizes larger)
(Semi-)dynamic, where static light sources are specified, their light shape precalculated and stored separately. Their destruction will remove their light shape
The reason fully-dynamic lights aren't included (lights that can move) is because having their light affected by walls is much harder.
Adding the lights will require map format enhancements. The editor can allow adding light sources manually, or new map items (wall items, or floor/room items) that can emit light can be added.
Lightmaps can be used to improve the ambiance of the maps. This is basically a huge "texture" (pixel buffer) the size of the map holding brightness values.
We could have two types of lightmaps:
The reason fully-dynamic lights aren't included (lights that can move) is because having their light affected by walls is much harder.
Adding the lights will require map format enhancements. The editor can allow adding light sources manually, or new map items (wall items, or floor/room items) that can emit light can be added.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.