Rendering Large Volume Datasets in Unreal Engine 5: A Survey
Markus Schlüter, Tom Kwasnitschka, Armin Bernstetter, Jens Karstens
TL;DR
The paper surveys in-core volume rendering of large volumetric datasets in Unreal Engine 5 within the ARENA2 dome, comparing a custom approach, the TBRayMarcher plugin, Niagara Fluids, and Sparse Volume Textures with Heterogeneous Volumes. It identifies SVT/HV as the most promising path, while detailing practical limits due to VRAM, API, and 32-bit/64-bit arithmetic constraints, and proposing fixes to enable datasets approaching several gigavoxels. A key contribution is the identification and repair of int32 overflow issues that unlock near the theoretical SVT capacity of $2048^3$ voxel textures, though true out-of-core rendering remains essential for truly massive data. The work also discusses alternatives (ParaView/IndeX, scenery) and outlines a clear roadmap toward scalable, out-of-core volume rendering in UE5 for scientific visualization in dome-based setups.
Abstract
In this technical report, we discuss several approaches to in-core rendering of large volumetric datasets in Unreal Engine 5 (UE5). We explore the following methods: the TBRayMarcher Plugin, the Niagara Fluids Plugin , and various approaches using Sparse Volume Textures (SVT), with a particular focus on Heterogeneous Volumes (HV). We found the HV approach to be the most promising. The biggest challenge we encountered with other approaches was the need to chunk datasets so that each fits into volume textures smaller than one gigavoxel. While this enables display of the entire dataset at reasonable frame rates, it introduces noticeable artifacts at chunk borders due to incorrect lighting, as each chunk lacks information about its neighbors. After addressing some (signed) int32 overflows in the Engine's SVT-related source code by converting them to to (unsigned) uint32 or int64, the SVT-based HV system allows us to render sparse datasets up to 32k x 32k x 16k voxels, provided the compressed tile data (including MIP data and padding for correct interpolation) does not exceed 4 gigavoxels. In the future, we intend to extend the existing SVT streaming functionality to support out-of-core rendering, in order to eventually overcome VRAM limitations, graphics API constraints, and the performance issues associated with 64-bit arithmetic in GPU shaders.
