Help with fading material out over distance

Hey, have you tried using height fog with HDR image as inscattering color cubemap?
If I understand correctly it should accomplish exactly what you’re looking for