Search Unity

Chunking my voxel terrain

Discussion in 'Scripting' started by Gamer'sHelmet, Feb 3, 2013.

  1. Gamer'sHelmet

    Gamer'sHelmet

    Joined:
    Oct 24, 2012
    Posts:
    49
    Can anyone tell me an idea on how to chunk my voxel terrain. I have seperate gameObjects that dont render when the player is far away.
    this works fine until the player starts moving which cause a HUGE spike in lag. so if someone can tell me how to fix this with chunks, please respond.

    thanks

    btw i dont want to use one modifieible mesh
     
  2. KyleStaves

    KyleStaves

    Joined:
    Nov 4, 2009
    Posts:
    821