How To Enable Unreal Engine Volumetric FOG?

April 18, 2025

dish shape Round Shape Circle shape Pyramid shape

Introduction

Volumetric fog is one of the most powerful atmospheric effects available in Unreal Engine Volumetric Fog, capable of transforming ordinary scenes into breathtaking environments with depth, mood, and realism. Unlike traditional fog techniques that simply fade distant objects, Unreal Engine Volumetric Fog simulates the actual scattering of light through three-dimensional volumes of air, creating authentic light shafts, variable density effects, and atmospheric perspective. When it is properly implemented, volumetric fog can dramatically enhance the visual storytelling in games, architectural visualizations, and cinematic experiences.

The Morphic Studio shares information about the complete process of enabling, configuring, and optimizing volumetric fog in Unreal Engine projects, providing both technical awareness and creative considerations to help you achieve your desired atmospheric effects.

Follow Unreal Engine Volumetric Fog

Before diving into implementation, it’s important to understand what makes Unreal Engine Volumetric Fog different from traditional fog techniques.

What Makes It “Volumetric”?

Volumetric fog in Unreal Engine uses a 3D volume texture to represent fog density throughout your scene. This approach allows light to interact with the fog in physically accurate ways, creating effects like:

  • God rays (volumetric light scattering)
  • Variable density at different heights and locations
  • Energetic shadows cast by objects within the fog
  • Realistic light absorption and scattering

Unlike simple distance-based fog, volumetric fog exists as a simulated medium in 3D space, allowing for much more complex and realistic atmospheric effects.

Implementing Volumetric Fog: Step-by-Step Guide

Step 1: Add Exponential Height Fog to Your Scene

The foundation of volumetric fog in Unreal Engine is the Exponential Height Fog actor. Here’s how to add it:

  1. Negotiate to the Place Actors panel in your Unreal Editor
  2. Select the Visual Effects tab
  3. Locate Exponential Height Fog in the list
  4. Drag and drop it into your level

A single Exponential Height Fog actor is typically sufficient for an entire level, as it creates a global fog effect.

Step 2: Enable Volumetric Fog

Once you’ve placed the Exponential Height Fog actor, you need to specifically enable its volumetric capabilities:

  1. Select your newly placed Exponential Height Fog actor
  2. In the Details panel, scroll down until you find the Volumetric Fog section
  3. Check the box labeled Volumetric Fog to enable the effect

At this point, you should see an immediate change in your scene’s atmosphere, though it may require further adjustment to achieve your desired look.

Step 3: Configure Basic Volumetric Fog Parameters

With volumetric fog enabled, you can now adjust its fundamental properties:

Density and Height Controls

  • Fog Density: Controls the general opacity of the fog
  • Fog Height Falloff: Determines how quickly fog density decreases with altitude
  • Fog Max Opacity: Sets the maximum opacity the fog can reach
  • Start Distance: Sets how far from the camera the fog begins to appear

Visual Appearance

  • Fog Inscattering Color: Determines the color of the fog when lit
  • Directional Inscattering Color: Adds a color tint when viewing the fog from certain angles
  • Fog Cutoff Distance: Distance at which fog effect is completely culled

Experiment with these settings to achieve your basic fog atmosphere before moving on to more advanced settings.

Step 4: Fine-Tune Volumetric Fog Properties

For more precise control over the volumetric fog effect, dig deeper into the specialized volumetric settings:

Scattering and Light Interaction

  • Scattering Distribution: Controls how light scatters through the fog (higher values concentrate scattering forward)
  • Albedo: Determines how much light is reflected by fog particles (affects brightness)
  • Extinction Scale: Controls how much light is absorbed by the fog

View and Distance Settings

  • View Distance: Determines how far from the camera volumetric fog is calculated (default: 6000 units)
  • Override Light Colors with Fog Inscattering Colors: When enabled, forces lights to use the fog color for volumetric scattering

Advanced Controls

  • Volumetric Fog Distance: Maximum distance for high-quality volumetric fog rendering
  • Volumetric Fog Grid Size Multiplier: Adjusts the resolution of the volume texture (higher values = better quality, but more GPU cost)
  • Volumetric Fog Grid Pixel Size: Controls the pixel size of the volumetric texture

Step 5: Adjust Light Interaction with Fog

Individual lights in your scene have properties that affect how they interact with volumetric fog:

  1. Select any light source in your scene
  2. In the Details panel, find the Light section
  3. Locate Volumetric Scattering Intensity property
  4. Adjust the value (higher values create stronger light shafts through fog)

This property is particularly important for creating dramatic effects like sunbeams streaming through windows or flashlight beams cutting through misty environments.

Advanced Volumetric Fog Techniques

Creating Localized Fog Effects

While the Exponential Height Fog actor creates a global atmospheric effect, you may want more localized fog in specific areas:

Using Particle Systems

  1. Create a new particle system in the content browser
  2. Set the material domain to Volume in your particle material
  3. Configure the particle system to create your desired fog shape and movement
  4. Place instances of this particle system wherever you need localized fog

Using Fog Volumes

For static localized fog, you can use volume actors:

  1. Add a Box Volume or other volume type to your scene
  2. Create a material with its domain set to Volume
  3. Apply this material to the volume
  4. Configure the material to create your desired fog appearance

Energetic Time of Day Effects

To create fog that changes with the time of day:

  1. Create a Blueprint class that references your Exponential Height Fog actor
  2. Implement time-based logic that modifies fog parameters like density and color
  3. Use Timeline components or interpolation functions to smoothly transition between different fog states

For example, you might create morning mist that burns off as the day progresses, or evening fog that thickens after sunset.

Unreal Engine Volumetric Fog
Unreal Engine Volumetric Fog By The Morphic Studio

Performance Optimization

Volumetric fog can be GPU-intensive, so optimization is crucial for maintaining good performance:

Follow Performance Factors

The main factors affecting volumetric fog performance are:

  • Volume texture resolution (tied to Shadow quality scalability setting)
  • View distance
  • Number of lights interacting with the fog
  • Screen coverage of fog effects

Optimization Strategies

Adjust Engine Scalability Settings

  1. Go to Edit > Project Settings > Engine > Rendering
  2. Locate the Volumetric Fog section
  3. Adjust the quality settings to balance between visual quality and performance

Use the profilegpu Command

To analyze the performance impact of volumetric fog:

  1. Press ` (backtick) to open the console
  2. Type profilegpu and press Enter
  3. Look for entries related to volumetric fog to identify performance bottlenecks

Implement Magnitude of Detail (LOD) System

Create a system that reduces volumetric fog quality or disables certain features based on:

  • Distance from camera
  • Current frame rate
  • Platform/hardware capabilities

Creative Applications

Atmospheric Storytelling

Volumetric fog can be a powerful storytelling tool:

  • Use dense fog to create tension and limit visibility in horror games
  • Create mystical atmospheres with colorful, glowing fog in fantasy environments
  • Simulate pollution or environmental conditions in sci-fi settings
  • Create realistic weather effects like morning mist in natural environments

Says Important Elements

Direct the player’s attention using volumetric light shafts:

  1. Position basic lights to create beams through fog
  2. Increase the Volumetric Scattering Intensity for these lights
  3. Use these beams to subtly guide players toward objectives or points of interest

Volumetric Fog Settings Reference Table

Troubleshooting Common Issues

Issue: Fog Appears Pixelated or Blocky

Solution:

  • Increase the Volumetric Fog Grid Size Multiplier
  • Ensure your project’s shadow quality setting is set to at least Medium
  • Reduce the View Distance to allocate more resolution to the visible area

Issue: Light Beams Don’t Appear in Fog

Solution:

  • Verify Volumetric Fog is enabled on your Exponential Height Fog actor
  • Increase the Volumetric Scattering Intensity on your lights
  • Ensure your lights have sufficient intensity
  • Check that your fog density is high enough to make light beams visible

Issue: Performance Drops Significantly

Solution:

  • Reduce the View Distance of the volumetric fog
  • Lower the Volumetric Fog Grid Size Multiplier
  • Decrease the number of lights affecting the fog
  • Consider implementing a level-of-detail system for distant fog

Finally

Volumetric fog represents one of Unreal Engine Volumetric Fog’s most powerful atmospheric tools, capable of transforming ordinary scenes into richly atmospheric environments. By following this guide, you should now be able to implement, configure, and optimize volumetric fog effects for your projects.

Think of that successful Unreal Engine Volumetric Fog is about balance—between performance and visual quality, between visibility and obscurity, and between subtle atmosphere and dramatic effect. Take time to experiment with different settings and observe how they interact with your scene’s lighting and architecture.

Whether you’re creating a misty morning environment, a mysterious dungeon, or a dramatic sci-fi environment, mastering volumetric fog will significantly enhance your ability to create compelling, providing worlds in Unreal Engine.

As with any advanced rendering feature, continue to monitor performance as you refine your fog settings, and don’t hesitate to make adjustments as your project progresses. With practice, you’ll develop an intuition for creating the perfect atmospheric conditions for any scene.

For More Details Visit The Morphic Studio

Related Article

April 19, 2025

How To Transform your Lighting with Local Volumetric Fog inside Unreal Engine 5

Atmospheric effects can make or break the visual quality of any 3D environment. Among the most powerful tools in Unreal Engine 5’s lighting arsenal is the Local Volumetric Fog system, which allows developers and artists to create stunningly realistic atmospheric conditions that react energetically to light sources. The Morphic studio shares information about the process […]

April 17, 2025

How To Create God Rays Unreal Engine 5 By Morphic Studio

God rays, also known as crepuscular rays or volumetric lighting, are stunning visual effects that create dramatic shafts of light penetrating through scenes. These beautiful atmospheric effects add depth and realism to any virtual environment. The Morphic Studio shares information about three proven methods to achieve God Rays Unreal Engine 5, each offering different advantages […]

April 15, 2025

How to Create A Custom Making Ancient Samurai in Unreal Engine

Developing a customizable ancient Ancient Samurai in Unreal Engine involves several interconnected components, from skeletal setups to animation integration and optimization techniques. The Morphic Studio shares information about the entire process, providing the technical foundation needed to create an authentic, modular samurai character ready for your game or project. Follow the Foundation: Skeleton and Modular […]