UE5 C++Tutorial - Minecraft like Voxel Terrain Generation : Part 1 Project Setup

Опубликовано: 28 Апрель 2025
на канале: CodeBlaze
31,645
401

PLS don't watch on full volume

UE5 Source Code - https://github.com/BLaZeKiLL/UE5Voxel...
UE4 Source Code - https://github.com/BLaZeKiLL/UE4Voxel...

UE4 Blueprint Series -    • UE4 Voxel Terrain Tutorial  
Auburn's Fast Noise Lite - https://github.com/Auburn/FastNoiseLite

=== Block Data ===
const FVector BlockVertexData[8] = {
FVector(100,100,100),
FVector(100,0,100),
FVector(100,0,0),
FVector(100,100,0),
FVector(0,0,100),
FVector(0,100,100),
FVector(0,100,0),
FVector(0,0,0)
};

const int BlockTriangleData[24] = {
0,1,2,3, // Forward
5,0,3,6, // Right
4,5,6,7, // Back
1,4,7,2, // Left
5,4,1,0, // Up
3,2,7,6 // Down
};
===== Enums ====
enum class EDirection
{
Forward, Right, Back, Left, Up, Down
};

enum class EBlock
{
Null, Air, Stone, Dirt, Grass
};
================

CBSL is a unity library that contains reusable generic components, utils & frameworks that I develop while working on my projects
Give it a look at - https://cbsl.netlify.app/

Follow me on Insta -   / code.blaze  

#unrealengine5
#ue5
#Minecraft
#gamedevelopment
#programming