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

Handling terrains in an open world game

Discussion in 'Editor & General Support' started by dynamicvoltagegames, Apr 7, 2020.

  1. dynamicvoltagegames

    dynamicvoltagegames

    Joined:
    Apr 15, 2019
    Posts:
    22
    I've been working on an open world game and I've got the usual stuff in place - breaking the world into sections and async loading in those scenes when the user crosses certain thresholds.

    But I'm trying to figure out the best way to handle terrains. The problem is that it's tough to know just how far you need to be able to see. I thought about increasing what's loaded the higher you go, but if there are mountains in the distance you might not need to be that high to see them.

    I've experimented (a bit) with loading a lot of terrains at once...dozens, and there doesn't seem to be a lot of overhead with them, so I'm wondering if I should just keep all the terrains loaded and just use streaming on the details.

    Thoughts?