EQS Fog of war/Field of vision system

Hey @EpEp I downloaded your project but it seems like the procedural material is inverted (everything is black that should be visible and vice versa). How can this be fixed and why is it happening?

Thanks again for providing the project.