finds.dev← search

// the find

bw2012/UE4VoxelTerrain

★ 593 · C++ · GPL-3.0 · updated Feb 2025

Unreal Engine 4: Smooth voxel terrian example

A playable Unreal Engine 4 demo plugin for smooth, moddable voxel terrain, built around a C++ implementation of the Transvoxel algorithm for seamless LOD transitions between chunks. Useful for anyone building a Minecraft/No Man's Sky-style destructible or generated world in UE4 who wants a working reference rather than a paper to implement from scratch. Discontinued in favor of the author's UE5VoxelTerrainDemo, so this is now a historical/reference artifact more than an active base to build on.

Actually implements Transvoxel, which is the hard part of voxel terrain (most tutorials stop at dual contouring or naive marching cubes and ignore crack-free LOD stitching). Ships a CUDA-based generator (CudaVdGenerator) as an alternative to CPU generation, useful if you're chunk-streaming at scale. Feature set is real and demoed with actual gifs, not screenshots: runtime digging/building, caves, foliage placement on generated terrain, per-chunk LOD. Up to 65535 terrain material IDs suggests the voxel data format was designed with more than a tech demo in mind.

Explicitly marked discontinued in favor of the UE5 version, so you're adopting a dead branch with no future fixes — go look at UE5VoxelTerrainDemo first unless you're stuck on UE4. The actual terrain plugin logic lives in two separate submodule repos (UnrealSandboxTerrain, UnrealSandboxToolkit) that aren't in this repo's history, so you can't fully audit the code from here and a broken submodule clone silently leaves Plugins/ empty. Required assets (a 1.2GB Content.zip) are hosted on Google Drive outside the repo, which is a classic single-point-of-failure for reproducibility — if that link dies, the demo doesn't build. No CI, no tests, and it's pinned to UE 4.27.1 with MSVC 2022, so expect friction getting it to compile on anything else.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →