Once you have all the visible tiles, then you can use a second tileMapLayer that renders just above the main one, and you can draw the wall tiles without illumination, and modulate their brightness based on the player's light cone. I bumped up the wall brightness a bit to make it a bit more readable