How to make a Terrain System

Hi,

So I’ve been trying to make a voxel game with infinite terrain.

The problem is all the tutorials do smooth terrain, and after looking for hours, haven’t found any infinite terrain systems (like Minecraft) that work.

How would I go about making one?

Any help would be greatly appreciated.

you would need to implement 3d noise

First, I would do some research to get an idea of the algorithm that Minecraft uses.

Then, attempt to code the terrain.

I know it uses Perlin Noise. I haven’t found a way to implement it.

math.noise(x,y,z)

characterlimit

Check out this game, it has a really nice polygonal generation.