Post processing Outline problem with fog or vfx

If you click on the viewmode dropdown and change it from Lit to Buffer Visualization->Custom Depth, does the fog mesh appear white?

Also, it looks like some of the material settings have been rearranged in the latest editor version. Try clicking on the main material node in your post process material, then search for “blendable location” in the details panel and change it to “scene color before DOF”.