I am currently working on a fog of war. I have utilised a few tutorials but have had to alter a few things to work how I want it to.
The fog of war utilises a post processing volume with a material (M_FogOfWar) to do the fog of war effect. Inside of M_FogOfWar, after attempting to align it to the centre of the map, it takes the two render target 2Ds and lerps between them for the fog of war effect.
This is how it is supposed to look, and looks in certain sizes of the viewport :


