Aokana: A GPU-Driven Voxel Rendering Framework for Open World Games

Yingrong Fang, Qitong Wang, Wei WangProc. ACM Comput. Graph. Interact. Tech 2025 · DOI

TL;DR

This paper introduces Aokana, a novel GPU-driven framework for rendering massive voxel worlds in real-time. By employing a multi-SVDAG structure, LOD, and a streaming system, Aokana significantly reduces VRAM usage and boosts rendering speeds, making large-scale voxel games more feasible on consumer hardware.

What Problem Does This Paper Address?

Open-world games are increasingly popular, but creating vast, detailed environments for them is a significant challenge. Voxel representations are appealing for their ease of generation and editing, especially for indie developers. However, the sheer storage cost of voxels and the computational overhead of rendering them in real-time have historically limited the scope and detail of voxel-based open-world games. Existing solutions often struggle with memory limitations, requiring either reduced viewing distances or aggressive detail culling for distant objects, which detracts from the immersive experience. This paper tackles the problem of efficiently storing and rendering extremely large voxel scenes (tens of billions of voxels) in real-time on consumer GPUs, aiming to preserve detail at a distance and enable seamless exploration.

Methods

Aokana's core innovation lies in its GPU-driven rendering pipeline and its efficient data management. Key techniques include:

  • Sparse Voxel Directed Acyclic Graph (SVDAG): Instead of a single, deep SVDAG which can lead to cache inefficiencies due to pointer chasing, Aokana uses multiple shallow SVDAGs to represent the entire world. The world is divided into chunks, each compressed into its own SVDAG. This approach improves cache locality and reduces memory access bottlenecks.
  • Level of Detail (LOD) and Streaming: A hierarchical LOD system is implemented for chunks, aggregating smaller voxel regions into larger ones at higher LOD levels. This, combined with a streaming system, ensures that only necessary chunks are loaded into VRAM, minimizing memory footprint. The LOD error is calculated based on chunk size, streaming factor, and camera position.
  • GPU-Driven Rendering Pipeline: The rendering process is heavily offloaded to the GPU, utilizing compute shaders for various passes. This includes:
  • Frustum and Hi-Z Occlusion Culling: To quickly eliminate invisible chunks and tiles.
  • Tile Selection Pass: Dividing the screen into tiles and identifying contributing chunks.
  • DAG Ray Marching Pass: Performing ray marching on the relevant SVDAGs to find intersection points.
  • Visibility Buffer: A 64-bit buffer to store intersection information (depth, normal, chunk ID, voxel coordinates).
  • Color Resolve Pass: Computing final pixel colors based on the visibility buffer and SVDAG color data.
  • Decoupled Geometry and Color Compression: Geometric data is compressed using SVDAG, while color data is stored in a separate array and compressed using a simplified block-based method with a tolerable error threshold.

Datasets

The paper evaluates Aokana on three test scenes:

  • San Miguel and Sponza: Classic graphics test scenes, voxelized into resolutions ranging from 8K to 64K.
  • Greenfield: A real-world scene derived from a Minecraft save file, representing a large-scale modern city. This scene is used to evaluate performance in actual open-world game scenarios. For Greenfield, the resolution is limited to 8K due to practical constraints.

No new benchmarks were introduced; existing scenes were voxelized for evaluation.

Key Insights and Ideas

  • Shallow SVDAGs are key for performance: Moving away from a single, deep SVDAG to multiple shallow ones significantly improves cache performance and reduces memory access overhead, which is crucial for large-scale voxel scenes.
  • GPU-driven pipeline is essential for efficiency: Offloading rendering passes to compute shaders allows for massive parallelism and efficient handling of complex voxel data, reducing CPU bottlenecks.
  • LOD and streaming are critical for VRAM management: The combination of hierarchical LOD and on-demand streaming is vital for keeping VRAM usage within consumer hardware limits, enabling exploration of vast worlds.
  • Seamless integration with mesh rendering: Aokana's pipeline can be inserted into existing forward rendering pipelines, allowing developers to mix voxel and mesh rendering, which is a significant advantage for practical game development.

Key Results

  • Rendering Speed: Aokana achieves rendering speeds 2 to 4 times faster than HashDAG for voxel scenes with resolutions above 32K. At 64K resolution, it can render a frame in an average of 6 milliseconds, enabling real-time performance.
  • Memory Efficiency: Aokana reduces VRAM usage by up to ninefold compared to methods that load the entire scene. Only about 5% of the complete voxel scene data needs to be loaded into VRAM when navigating.
  • Visual Quality: The system maintains high rendering quality, with SSIM values near 0.9 when using a StreamingFactor of 2.0, demonstrating good detail preservation for distant regions. Visual comparisons show Aokana producing more detailed distant scenery than existing methods like Avoyd and Minecraft+Distant Horizon MOD.

Limitations and Future Work

  • Limitations:
    • The current implementation does not support runtime modification of voxels.
  • The color compression method is simplified and may not be optimal for all scenarios.
  • The current LOD aggregation method averages colors, which can lead to some color discrepancies in rare cases.
  • The system does not currently support transparent voxels, though transparent meshes can be used as a substitute.
  • Future Work:
    • Support for various material models for voxel rendering.
  • Better integration with traditional mesh-based methods to seamlessly support mixed rendering.
  • Exploring voxel-based collision detection using ray intersection in compute shaders.
  • Investigating solutions for runtime voxel modification, potentially using dense arrays for near-player areas and reconstructing SVDAGs from them.

Summary updated

BibTeX
@article{fang2025aokana,
  author = {Yingrong Fang and Qitong Wang and Wei Wang},
  title = {{Aokana: A GPU-Driven Voxel Rendering Framework for Open World Games}},
  journal = {Proc. ACM Comput. Graph. Interact. Tech},
  year = {2025},
  doi = {10.1145/3728299},
}
Figure