Exponential Height Fog / Volumetric Scattering

I created an outline postprocess material. but when I create a light with volumetric scattering, the fog is being drawn under the outline. I’m looking for a way to access the height fog layer/buffer alpha so that i can use it to lerp the layer. just like how custom depth or stencils work. or is there any other workaround. thank you