Flow Volumes
Flow Volumes integrates NVIDIA Flow 2 with a native D3D12 backend on Win64. Fire, smoke, dust, steam, fog, gas and vortex use the volume solver and effect presets. Simulation runs on the primary GPU or a configured worker GPU; rendering runs on the primary GPU.
Setup
Run from the engine root:
XDevops\XDevops.bat Setup Flow
XDevops\XDevops.bat Build FlowValidate
XDevops\XDevops.bat Build Flow
FlowValidate checks inputs; Flow builds and stages the SDK and transport shaders. Build FlowStage stages an existing build. Dependency bootstrap prerequisites must already be installed; the wrapper does not run the SDK's dependency bootstrap for you.
Enable the Flow Volumes plugin, build/restart the editor and open Project Settings > Plugins > NvFlow. Enable Flow and select Medium, High or Extreme quality. Place a volume and use Start Volume for editor preview. Fire ignition also depends on Ignite On Start.
Preparation and lifecycle
PrepareVolume() requests asynchronous solver preparation without emission. The component must be registered, x.Flow enabled and a rendered scene updating. A successful return means the request was accepted. Check the component's preparation state before relying on a warm solver; Ready does not guarantee that a rendered frame exists.
Start Volume starts/resumes a volume and restarts its configured duration. Stop Emission stops injection while existing fluid dissipates. Reset clears the volume. Fire also has ignition/extinguish controls. Duration is measured in simulated seconds; zero means continuous emission. Resource or backend changes can restart the solver.
Multiple emitters in one simulation
Place NvFlow Multi Emitter Volume (ANvFlowMultiEmitterVolumeActor). Add NvFlow Emitter components to source actors and assign their Target Volume to that shared actor.
Each emitter has its own box/sphere shape, fuel, temperature, smoke, local velocity, channel coupling and duration. Start Emission restarts only that emitter; Stop Emission stops that source. Nonzero coupling can drive a channel toward a zero target. Owner obstacle exclusion affects Flow obstacle queries and does not change engine physics collision.
Emitters targeting the same volume inject into one fluid simulation and can interact there. Separate volume actors still own independent simulations; overlapping their bounds does not merge their fluids. Keep sources inside the target simulation bounds.
Heat haze
Enable Flow > Heat Haze > Heat Haze on the volume. Haze refracts the background through hot simulated gas, including non-fire sources with a nonzero temperature.
| Setting | Purpose |
|---|---|
| Strength | Refraction strength |
| Threshold / Fade | Temperature where distortion begins and its fade range |
| Noise Size / Rise Speed | Shimmer scale and extra upward pattern motion |
| Max Offset | Maximum background displacement in screen pixels |
| Edge Fade | Softens distortion at volume boundaries |
Heat haze is off by default. The quality asset controls its sample budget (Medium 12, High 24, Extreme 48 steps).
Runtime controls
| Console variable | Default | Behavior |
|---|---|---|
x.Flow | 1 | Master switch; project Enable Flow setting applies it |
x.MultiAdapter.Flow | 0 | 0 primary simulation; 1 requests worker simulation |
x.MultiAdapter.Flow.Thread | 1 | Runs worker stepping on its own thread |
x.MultiAdapter.Flow.FallbackSeconds | 3 | Falls back to primary on worker failure/no publication; 0 disables timeout fallback |
x.Flow.AutoStop | 1 | Stops an empty volume after emission and active blocks end |
x.Flow.Quality | -1 | Project quality; 0 Medium, 1 High, 2 Extreme override it |
x.Flow.ExportResolution | -1 | Quality preset, or longest-axis export resolution clamped to 32–256 |
x.Flow.ShadowSteps | -1 | Quality preset, or smoke self-shadow samples; 0 disables |
Worker mode additionally needs enabled multi-adapter infrastructure and a compatible configured worker adapter. Compare backends at identical quality and scene settings. The old x.Flow.Mode commands are obsolete.
The advanced simulation settings expose per-channel advection, damping/fade, pressure, buoyancy, vorticity and sparse allocation. Their sanitization preserves valid SDK inputs; changing them can change the effect substantially.
Native Flow PSOs and ASD
Flow creates native compute pipelines outside UE's material shader archive. Capture those descriptors separately:
x.Flow.PSO.Capture 1
Prepare/start the volumes and exercise the intended workloads, then stop capture and export to a new directory:
x.Flow.PSO.Capture 0
x.Flow.PSO.Export D:/Captures/FlowPSOs
A complete export contains .nvflowpso descriptors and catalogue.txt with schema, entry count and build provenance. Existing directories, empty/incomplete captures and captures exceeding limits are rejected. x.Flow.PSO.Clear clears the in-memory catalogue while capture is disabled.
Build ASDTool with XDevops\XDevops.bat Build ASD. Its GenerateSODB command accepts -NvFlowPSODir=<directory> with -OutputDir=<directory> as a collection source; use the tool's help for the remaining application/adapter arguments. The importer checks the manifest, entry counts, descriptor sizes, hashes and root signatures. A valid catalogue covers only pipelines actually captured and must match the shipped build; exporting it alone does not generate or deploy a shader database.
Demo and scope
Open /Flow/FlowDemo (Engine/Plugins/XThirdParty/Flow/Content/FlowDemo.umap) with plugin content visible. The map is tracked in this engine checkout.
XWindfield supplies ambient/local forcing rather than sharing its complete evolving field. Density presets do not add granular dust physics, condensation or chemical reactions. Persistent surface burn-mask/material integration remains future work.
Source checked on 5 November 2026 in the NvFlow runtime, emitter components, quality settings, PSO catalogue and ASDTool importer. Runtime correctness and performance still need validation in the target project.