struct

FogVolumeComponent

A local volumetric-fog volume. The froxel fog pass injects this volume's density (scaled by its albedo/emissive) into the light grid wherever a froxel falls inside it, on top of the global height fog — so a room fills with haze or a sphere of coloured smoke sits in the world without affecting the whole level. Box uses the entity transform's scale as half-extents; Sphere uses the radius. Reflected so the Details panel edits every field with zero editor code.

Module
Game
Header
#include "Game/Components/FogVolumeComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
EFogVolumeShapeshapeDefault EFogVolumeShape::Box.
floatradiusDefault 5.0f.
floatdensityScattering density (extinction) inside the volume. Higher = thicker. Default 0.2f.
Vec3albedoSingle-scattering albedo — the tint the volume gives to light passing through it (1,1,1 = neutral grey haze). Default Vec3(0.8f, 0.85f, 0.9f).
Vec3emissiveConstant emissive radiance added inside the volume (glowing fog). Default Vec3(0.0f, 0.0f, 0.0f).
floatemissiveStrengthDefault 0.0f.
floatedgeFeatherFraction of the extent spent fading the density to zero at the boundary so a volume blends into the surrounding air instead of a hard edge. Default 0.25f.

Constructors

SignatureNameDescription
FogVolumeComponent() = defaultFogVolumeComponent

Function details

FogVolumeComponent

C++
FogVolumeComponent() = default
Generated from Game/Components/FogVolumeComponent.h via game.json · Nov 5, 2026Version 1.0.0