For simple models (constant incoming radiance), you can indeed just add the optical depths from the different fog 'layers'. (90% sure but the maths is easy to check anyway, see https://forwardscattering.org/post/72)