A way to give an editable texture to the viewport?

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

Greets!

I got the Fogofwar-demo (GitHub - AntonWedemeier/Godot-FogOfWar: A general node for Fog of War (2D) for the Godot Engine) inserted in my project, and i’d like to change the default greyish color of the viewport to a real fog texture, that could be cleared in the same way as the original viewport rendering.

Is there a way?

Fun!

Edit: And would anyone knows how to restore the fog once dissipated and passed through?