3 ms·
Really cool, I did something similar for a university project where I had to implement a Minecraft clone. I don’t remember all the details, but I used multiple,
by kaba0 4y ago
Really cool, I did something similar for a university project where I had to implement a Minecraft clone. I don’t remember all the details, but I used multiple, differently scaled Perlin noise “textures”, a 2D one was responsible for the surface terrain (which determined the type of the upper n percentage of blocks there), another 2D managed the height at each block column (with some interaction with the terrain texture’s value?), and a 3D one was responsible for caves under the surface. It was my first try at anything similar and a surprisingly easy code generated surprisingly good results.