Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to speed up voxel game with SurfaceNets

Discussion in 'World Building' started by ly21163, Dec 31, 2019.

  1. ly21163

    ly21163

    Joined:
    Mar 25, 2014
    Posts:
    1
    Hi there,

    Any advice to speed up voxel game with SurfaceNets? When it generates a new chunk, fps will always drop from 60 to 10~30. Chunk size is 25x25x25 and SurfaceNets only smooth it once. I only try StartCoroutine to speed it up.

    Another question is do I have to recreate the whole chunk when I modify one block, it is very obvious when the chunk disappear and recreate.

    Thanks.

    upload_2019-12-31_20-57-3.png
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350