How to draw nice 2D explosion blockable by obstacles?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Robotex

Currently, I add Area2D with radius of explosion and then for each body that entered it I’m checking that raycast to it from center of explosion is not blocked by obstacles.

It’s working good: NPCs and player get damage if they are not covered from it by the obstacles.

Now I need to visualise that explosion. I need to draw some texture (or set of textures (I don’t imagine how explosions should be drawn)) but only at areas that is not covered by any obstacles (and maybe add a bit of light and smoke to it)

How can be it implemented in Godot?