Knob
Froxel grid
You might say: camera-frustum volume, froxel volume
A froxel grid is a low-resolution volume texture aligned to the camera frustum, with screen-space cells and depth slices for integrating participating media.
- What it does
- Makes volumetric lighting tractable by trading volume resolution against detail, stability and GPU cost.
- Ask
- How many cells and depth slices does this view need before shafts and density boundaries stop banding?
- Typical
- Set screen-space grid size, depth-slice count and view distance; higher Z resolution improves quality but costs more.
- Trouble
- Too few slices cause banding and undersampling; temporal reprojection can leave trails behind fast lights or moving media.
What to look for
- A debug view shows stepped depth slices or a camera-aligned volume
- Fine shaft edges soften when the volume resolution is lowered
- The effect follows the camera rather than a world-aligned cube
Connections
- Controls: Volumetric fog
- Controls: Performance budget
Sources
- Epic Games, Volumetric Fog in Unreal Engine, Temporal Reprojection
The volume textures (voxels) used by Volumetric Fog are relatively low-resolution and aligned to the camera frustum.
- Epic Games, Volumetric Fog in Unreal Engine, Volumetric Fog Controls, Exponential Height Fog
In the created volume texture for the fog there are a limited number of Z slices depending on this distance. Increasing the distance will result in under-sampling that can cause artifacts to appear.
- Sébastien Hillaire, Physically Based and Scalable Atmospheres in Unreal Engine, Aerial perspective, slide 17
Froxel volume texture mapped onto camera frustum
Use it on your project
teardown-apply: hold "Froxel grid" (froxel-grid) from the teardown at https://teardownatlas.com/environment-art/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal