Course contentsShow
← Unreal Engine Game Development
Lesson 547 of 8807. Visual Fidelity and RenderingFree lesson

Applying Localized Fog Sheets and Particle Volumes

Place localized volumetric fog volumes and custom particle systems to add ground-level mist, smoke, or swamp gas within specific gameplay areas.

In this lesson, you will learn how to break free from global fog settings by placing localized volumetric fog volumes and custom particle systems to add grounded, atmosphere-heavy effects to specific gameplay areas.

While global Volumetric Fog covers your entire scene, localized fog allows you to create dense swamp gas, ground-hugging mist, or thick industrial smoke that exists only where you place it. This is achieved by combining the Exponential Height Fog component with Volumetric Fog settings and specialized Niagara particle systems.

Sculpting Localized Fog Volumes

To create a localized fog effect, you should use an Exponential Height Fog component that is specifically configured for your area. Within its settings, ensure Volumetric Fog is enabled. You can manipulate the Fog Density and Fog Height Falloff within a Post-Process Volume or by triggering property changes via Blueprints to contain the fog within a specific boundary.

However, for truly localized, "swirling" effects, we rely on Volumetric Fog Materials. By applying a material with a Volume domain to a static mesh box, you can create a containment volume. The material uses a 3D Texture or a scrolling Noise node connected to the Extinction output to define where the fog appears:

// Basic logic inside a Volume Material
float3 Noise = TextureSample(FogNoiseTexture, UVW * Tiling);
return Noise * FogDensityMultiplier;

Enhancing with Particle Volumes

To add organic movement that a static fog mesh cannot provide, you must utilize Niagara particle systems. These particles should be set to Sprite or Mesh renderer types with a custom Volumetric Particle material.

By using the Particle Color and Camera Depth Fade nodes in your material, you can ensure your localized mist blends perfectly with the environment geometry without harsh clipping. Keep these systems low-density and scale them to fill the volume of your "fog zone," allowing the volumetric lighting system to catch the particles and cast shadows through them. This combination creates a rich, layered look where the fog feels grounded and interactive rather than a flat overlay.

Key Takeaway: By blending restricted volumetric fog volumes with localized, depth-faded Niagara systems, you can craft atmosphere that feels physically grounded and specific to your level design.