These steps worked for me.
- make sure to turn on cast volumetric shadows on whatever light you used.
- Type in the console command exactly this “r.VolumetricFog.GridPixelSize 2”
- then type in this exactly (warning it is pretty expensive and will use up quite alot of ram) “r.VolumetricFog.GridSizeZ 256” (increse that number if there is still some flicker or jitter.
ALSO, take a look at this post