Doug Binks - Juliette Foucaut - 18 Sep 2023
Reducing the number of polygons in 3D objects helps improve a game's performance. This tutorial explains step by step how to clean up the geometry of voxel models in Blender to prepare them for export to game engines like Unreal or Unity.
Note you may have encountered 'polygon reduction' techniques under other names such as 'vertex reduction', '3D model optimisation' or '3D model clean up'.
This post covers the following workflow:
.fbx
, and links to documentation for importing the optimised .fbx
into Unreal and Unity.Not covered in this post:
.gltf
format from Blender.Use Avoyd Voxel Editor to export your voxel model to mesh (.obj
) for games - together with its materials and their properties, such as metallic, transparent and emissive - as follows:
.avwr
Avoyd world file using File > Open
. (Download Camper.avwr
.).vox
file, a heightmap or a Minecraft file.File > Export > Mesh (.obj)
.obj
file name and press Save
.Optimise Mesh
. (Because you will optimise in Blender.)Target Application Preset
: Unreal
or Unity
. (For Godot use the Unity
preset.)Export
.Open the .obj
file in Blender and clean up the geometry as follows:
Scene Collection
:
Camera
.Cube
.Light
.File > Import > Wavefront (.obj)
..obj
file then click Import OBJ
.
Viewport Shading
to Material Preview
(third sphere in the top-right corner). Interaction Mode
to Edit Mode
(drop-down on the top left). Interaction Mode
to Object Mode
.
Interaction Mode
to Edit Mode
to see the result: the object is cleaned up, it has fewer polygons: In Blender export the mesh to .fbx
for Unreal or Unity (.gltf
for Godot) as follows:
File > Export > FBX (.fbx)
.<filename>.fbx
and click Export FBX
.Finally, follow the documentation to import the optimised .fbx
into Unreal or Unity:
.fbx
file instead of the .obj
and .mtl
referred to in the documentation.)