Second, shadowcasting (great job, Maria!), which will be used for:
- vision,
- lighting
- and ranged combat.
Obstacles can have different permeability for light and projectiles. For example:
- smoke can be very thick but completely “transparent” for bullets,
- while armored glass is the opposite of it;
- smoke and glass both can be 50% translucent, and a wooden wall can provide only 50% of cover.
But enough words, here’s a picture of obstacle shadows and target visibility: