To set VRayEnvironmentFog, go to Render Settings > Overrides> > Volumetrics.
Enable the the Use environment volume optionoption. Click Add New Item to add a volumetric map. You can add one or multiple maps. As an Environment Volume, select the VRayEnvironmentFog volumetric.
UI Text Box
type
note
Multiple Environment Volumes are not supported on V-Ray GPU.
This is the default way of setting an environment fog in the scene.