Requires 4.17 (async collision cooking)
Based on transvoxel
https://www.youtube.com/playlist?list=PLjYKpKPK8E-_lxP5EuRxizhNuNBDYnT15
https://forums.unrealengine.com/showthread.php?151940-Voxel-plugin-for-UE4
- Real time collisions
- Smooth LOD
- Fast (update of a chunk cost less than 1ms)
- Blueprint interface
- Textures
- Multithreaded
- Easy generation of custom worlds
- Free and open source
- Multiplayer
- Landscape import
- Easy load/save
- Up to 256 materials
- Some holes still appears
Better mesh import- Material tuto
16 textures max per material -> TextureArrays?Shared texture should doBetter quality settings
Download repo and launch .uproject
- Create a
Pluginsfolder in your game directory - Download latest Voxel.zip from releases and extract it in the
Pluginsfolder - Make sure you have
MyProject/Plugins/Voxel/Voxel.upluginand notMyProject/Plugins/Voxel/Voxel/Voxel.uplugin - If C++: add
"Voxel"as public dependency inMyProject.Build.cs(should bePublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Voxel" });) - Enable the plugin in the editor and restart
Download repo and migrate them
- Add a Voxel World actor to your scene (with the left panel)
- Set the material of the world
- Create a new GameMode and set the player controller to VoxelPlayerController
Create a blueprint and in Class Settings, add VoxelWorldGenerator as interface (see here)
Create a subclass of UObject and implement IVoxelWorldGenerator. You can look at CirclesWorldGenerator.h and CirclesWorldGenerator.cpp for an example.