AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.4k stars 289 forks source link

Experiment with "Shadow Drawing" for Tilemaps #734

Open ilexp opened 5 years ago

ilexp commented 5 years ago

Summary

Tilemaps generally lack "global" shading (e.g. a house in one area casts a shadow on a neighboring area), and without a significant increase in workload through specifying actual 3D representations of tiles, it cannot be calculated automatically either. Instead, it could be a reasonable option to let users "paint" shadows onto the tilemap.

Analysis