Reset everything
Clear all lights (keeps opaque/ambient settings)
Recompute the light map. Call after adding/moving lights.
Get brightness at a tile (0 = dark, 1 = fully lit)
Get the raw light map grid
Get all light sources
Check if a tile is opaque
Set ambient light level (0 = total darkness, 1 = fully lit)
Mark a tile as opaque (blocks light)
Tile-based flood-fill lighting system. Computes a light map grid that can be used as alpha overlay.
Usage: