8000 GitHub - hamdiahmedamin/VoxelPlugin at V0.4 · GitHub
[go: up one dir, main page]

Skip to content

About

Voxel plugin for Unreal Engine

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

UE4 Voxels

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

Features:

  • 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

TODO:

  • Some holes still appears
  • Better mesh import
  • Material tuto
  • 16 textures max per material -> TextureArrays? Shared texture should do
  • Better quality settings

Example project

Download repo and launch .uproject

Plugin

  • Create a Plugins folder in your game directory
  • Download latest Voxel.zip from releases and extract it in the Plugins folder
  • Make sure you have MyProject/Plugins/Voxel/Voxel.uplugin and not MyProject/Plugins/Voxel/Voxel/Voxel.uplugin
  • If C++: add "Voxel" as public dependency in MyProject.Build.cs (should be PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Voxel" });)
  • Enable the plugin in the editor and restart

Assets

Download repo and migrate them

Quick start

  • 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

Generate custom world

Blueprint

Create a blueprint and in Class Settings, add VoxelWorldGenerator as interface (see here)

C++

Create a subclass of UObject and implement IVoxelWorldGenerator. You can look at CirclesWorldGenerator.h and CirclesWorldGenerator.cpp for an example.

alt text alt text

About

Voxel plugin for Unreal Engine

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0