I Added Procedural Generation to My Voxel Engine !

Опубликовано: 05 Ноябрь 2024
на канале: MaxMakesGames
7,120
368

What's better than a voxel world ? An infinite voxel world ! That's why in this video I added procedural generation to my voxel engine to allow it to generate infinite worlds as you move around. It uses perlin noise to generate smooth terrain and a chunk system to load and unload it.

I also vastly improved the destruction system of the engine by fixing many bugs with it and allowing it to destroy in all directions and even create tunnels.

I also started making the world more interesting by adding trees, but I'll need a better solution later.
In the next part, I'll probably add better lighting to make everything look better ! I'm thinking about a form of ray tracing or ray marching but optimized for voxels so stay tuned.

Where I got my perlin noise code ( thanks everyone ): https://github.com/Reputeless/PerlinN...
Things used for the engine: OpenGL & C++

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

Subscribe for game making tutorials, other game-making related content and to follow my projects with the devlogs !

0:00 Intro
0:25 Random Values
1:20 Generate Terrain
3:00 Loading When Moving
4:53 Unloading
6:00 Everything Broke
7:10 Destruction
9:13 Trees