This implements base ambient lighting for tiles which helps with tiles like lava and ceiling lights.

This commit is contained in:
Zed A. Shaw 2025-05-29 12:34:25 -04:00
parent 74a1801069
commit 3dc70c3af6
11 changed files with 48 additions and 17 deletions

View file

@ -22,7 +22,7 @@ TEST_CASE("lighting a map works", "[lighting]") {
LightSource source1{6, 1.0};
LightSource source2{4,3};
LightRender lr(map.width(), map.height());
LightRender lr(map.walls());
lr.reset_light();