Cave Systems - 3D Perlin Noise
Cavecraft - A Minecraft Clone » Devlog
I was able to get 3D perlin noise working which allows for cave systems to be added into the game. Game world optimization is the next step.. Wish me luck.
Script Not mine - C#
public static float Perlin3D(float x, float y, float z) {
float ab = Mathf.PerlinNoise(x, y);
float ba = Mathf.PerlinNoise(y, x);
float bc = Mathf.PerlinNoise(y, z);
float cb = Mathf.PerlinNoise(z, y);
float ac = Mathf.PerlinNoise(x, z);
float ca = Mathf.PerlinNoise(z, x);
float abc = ab + bc + ac + ba + cb + ca;
return abc / 6f;
}
Get Cavecraft - A Minecraft Clone
Cavecraft - A Minecraft Clone
Minecraft - Programmed in unity5
Status | In development |
Author | __EnterName__ |
Genre | Adventure, Role Playing |
Tags | 3D, Minecraft, Pixel Art, Sandbox, Singleplayer |
More posts
- Back at it again JimmyJun 27, 2021
- MC Clone: Projects FateDec 27, 2018
- Brick Pickups & Basic inventory SystemDec 10, 2018
- Playable GameDec 07, 2018
- Brick Placing and Collecting :DDec 05, 2018
- Rendering Tree MeshesDec 04, 2018
- Textures For Tree SystemDec 04, 2018
- Pretty World ACHIEVED & its only 2:40Am ;')Dec 01, 2018
- Better Terrain GenerationDec 01, 2018
- Things Get Interesting... Terrain GenerationDec 01, 2018