Volumetric Fog appears in shadows


I only have a directional light in the level. There is no skylight in the level. Therefor parts of the landscape are shadowed and are pure black. Problem is volumetric fog gets lit by directional light even in shadowed parts.

Is this a bug?

No it is not a bug. If there was only fog on the surface of the mountain, it would be shadowed. But becuase there is fog between the camera and the mountain, not everything is in shadow.

There’s no fog between camera and the mountain. See the mountain peak is above the fog.

Bumping for visibility