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
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
EFogVolumeShape | shape | Default EFogVolumeShape::Box. |
float | radius | Default 5.0f. |
float | density | Scattering density (extinction) inside the volume. Higher = thicker. Default 0.2f. |
Vec3 | albedo | Single-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). |
Vec3 | emissive | Constant emissive radiance added inside the volume (glowing fog). Default Vec3(0.0f, 0.0f, 0.0f). |
float | emissiveStrength | Default 0.0f. |
float | edgeFeather | Fraction 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
| Signature | Name | Description |
|---|---|---|
FogVolumeComponent() = default | FogVolumeComponent |
Function details
FogVolumeComponent
C++
FogVolumeComponent() = defaultGenerated from Game/Components/FogVolumeComponent.h via game.json · Nov 5, 2026Version 1.0.0