How to Create a Procedural Mesh using ArrayMesh in Godot | Optimized Voxels | Voxel Terrain #5 @MakerTech
How to Create a Procedural Mesh using ArrayMesh in Godot | Optimized Voxels | Voxel Terrain #5  @MakerTech
Uploaded April 2025 | Updated November 2026, 1 day ago
Let's optimize rendering our voxel terrain using ArrayMesh in Godot.
First, we’ll draw a single cube from scratch, then expand it to generate the entire terrain.
We’ll optimize it to only draw what’s necessary, and you’ll see how easy it is to add collision too.

I’m currently using Godot 4.4.1, but I’ll keep updating whenever a new version of Godot comes out.

During this series we will touch upon several interesting topics including procedural generation, profiling and optimizing, comparing solutions, multithreading and much more.

Support the channel on Patreon: patreon.com/MakerTech
Support the channel with a Youtube membership: youtube.com/channel/UCZfXxUfpS7q-v1gsMY-hQtA/join
Join the Discord server: discord.gg/7zKMaZDycE
All Voxel Terrain related videos: youtube.com/playlist?list=PLMQtM2GgbPEW8ElbOfc49QWV0eOquQiic

00:00 Intro
00:26 ArrayMesh
04:18 First Cube
06:19 Winding Order
10:27 Set Material
11:19 Debugging Tips
12:03 Draw Terrain
12:53 Skip Hidden Faces
17:20 Collision
18:11 What's next?

The code for this project can be found on GitHub: github.com/MakerTechDK/godot-voxel-terrain

---------------------------------------------------------------------------------------------------------------------------

Download Godot: godotengine.org
ArrayMesh: docs.godotengine.org/en/stable/classes/class_arraymesh.html
MeshInstance3D: docs.godotengine.org/en/stable/classes/class_meshinstance3d.html
Array vs. Dictionary vs. Object: docs.godotengine.org/en/stable/tutorials/best_practices/data_preferences.html#array-vs-dictionary-vs-object

--------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------

Reddit: reddit.com/user/MakerTech Instagram: instagram.com/makertech_dk Bluesky: https://bsky.app/profile/makertech.bsky.social Youtube channel: youtube.com/makertech

---------------------------------------------------------------------------------------------------------------------------

#gamedev #godot #godotengine #godot4 #tutorial #minecraft #learntocode #howtomakeagame #voxels #voxel
How to Create a Procedural Mesh using ArrayMesh in Godot | Optimized Voxels | Voxel Terrain #5How to make a camera follow the player in Godot 4 | ARPG in Godot 4 #8 | tutorial | zeldalikeHow to PICK UP and THROW Items in Godot | RayCast2DIN-GAME TIME in Godot (4.3) #4: Pause or change speedHow to Create a Diamond Transition Shader in Godot | tutorialCreating a new #pixelart elevator for my #godot #zeldalike | #asepriteIndie Game Dev - Bionic Carrots before adding animations and particle effectsHow to make an ARPG in godot 4 #15: Player knock back | tutorial | zeldalikeShader Transitions in Godot🤩 | #godotengine #shaders #gamedevGreedy Voxel Meshing in Godot🤩 | #madewithgodot #voxelterrainadding item to robot inventory enables new programming commands | game dev log | zeldalike rpgWorking on a new math app in Godot for our math hungry daughter🤩
MakerTech |

How to Create a Procedural Mesh using ArrayMesh in Godot | Optimized Voxels | Voxel Terrain #5

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER