I have game situation as shown in picture:
- Red dot: player
- Brown dot: obstacle ( rock, tree, etc)
- Grey: non visible area ( under fog of war)
My question is: how can I draw that kind of shape, changed dynamically, with XNA 4.0. I can calculate each point of this shadow polygon. I would avoid drawing it pixel by pixel due to performance reasons, maybe particles? But i won't have sharp edges with this technique. Any tips?