Search Unity

Terrain generation

Discussion in 'Editor & General Support' started by vanLiere, Jul 21, 2017.

  1. vanLiere

    vanLiere

    Joined:
    Jul 11, 2017
    Posts:
    7
    Hello, i've been looking at multiple articles on marching cubes, voxels etc but i'm kind of lost.

    I'm looking for random (almost) infinite terrain generation with a limit of chunks (for example a terrain of 40x40 chunks) which is minable but doesn't look blocky like minecraft. would i implement voxels with marching cubes or? I've seen a few nice terrain generators such as Gaia, UltimateTerrain etc, but i wouldn't know if you could have it deforming blocks syle (rather diamonds)

    examples:
    - 7 Days to die
    http://7daystodie.gamepedia.com/Random_World_Generation



    i would like a minable smooth terrain, later i could look into biomes, trees, rocks, roads, rivers, prefabs and such.

    I'm looking for either a tutorial to do it your own, paid course or a asset that would fit my needs.

    Thanks in advance!
     
  2. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,037
    Gaia just uses Unity's terrains, which are very limited. Its power is in making that old thing look great, automating textures, shading and placeables for you. It's not what you want for real-time deformable terrains though. Unity terrains are just heightmaps, so you can't even get a cave in it without actually dropping in a cave 3D model.

    Some form of voxel asset would be your quickest option, but they have a long and terrible history of abandonment. I suggest working your way through this gigantic thread:
    https://forum.unity3d.com/threads/after-playing-minecraft.63149/

    Links to tutorials, assets, opinions, code etc. can be found among the posts there.
     
  3. vanLiere

    vanLiere

    Joined:
    Jul 11, 2017
    Posts:
    7
    I thought so (on gaia) Thank you, i'll look further into the link