My question is about how could I merge 2 or 3 terrains together? I have googled it and found this.
And based on that I want to ask, if I make a huge terrain, will it cost on performance? How can I make a terrain or combine multiple terrains and have a normal performance? I don’t want the players to drop to 20 fps because of a huge terrain… What’s the best way to do this?
World Composition User Guide | Unreal Engine Documentation - level streaming is the easiest way if you’re worried about performance basically, it makes it so when the player hits a “boundary” a new level will load and the old level will disappear (not be loaded anymore) so the performance will switch over to that level.
My friend Lukecliff again!
Thanks for taking the time to answer me mate! You helped me a lot!
I just wanna ask, will this apply loading screens (in the runtime - when will be played by a player) on the loading of the next level ?
Im pretty sure theres a way you can do it without loading screens… I’ve never actually sued them but am looking to in my upcoming game!
The Level Streaming feature makes it possible to load and unload map files into memory as well as toggle their visibility all during play. This makes it possible to have worlds broken up into smaller chunks so that only the relevant parts of the world are taking up resources and being rendered at any point. If done properly, this allows for the creation of very large, seamless levels that can make the player feel as if they are playing within a world that dwarfs them in size.
Beside level streaming you should also plan your map very carefully to get a good performance in large open world maps!
-use hills to block the view of the player
-low poly meshes
-the new foliage features
How can I do those that you suggest? I am new to this… I know about hills and I will implement them.
Can you give me a tutorial (if there is any) to save performance?
How can I use good LOD? Low poly meshes? What is culling? I use your foliage kit, will it be ok?
Culling at runtime can be interpreted as depth of field?
Also, I saw the lod video on youtube and read lod wiki and I want to ask, I will have to do this with EVERY mesh I import to the game? Be it a rock, a tree, grass?
It’s not depth of field (dof can be done in your post process volume -> it will blur the screen
Yep, you will have to do the LOD part with every mesh, except of the ones which dont need a LOD channel (e.g a grass blade with just 6 tris)
You can just do it for meshes of the same type -> e.g when you want to create 2 lod channels, then you first of all create the original mesh - in the same scene you also add the lod1 mesh and the lod2 mesh. Now you can group them + when you import them, it will import everything at once (but that’s just possible with 3ds max/maya -> Unreal Engine 4/3d max Tutorial: LOD (english) - YouTube)
Sorry for bringing this up, but playing with the terrain more questions come up…
So, ok with the level streaming, but what if I want to merge 2 heightmaps together? Because I’ve made a heightmap using worldmachine and it’s a 2k resolution with 8km x 8km long. If I adjust it on world machine to 15km x 15 km I lose my boundary mountains (they are around the edges of the map) and I get an extra plain field… So there must be a way to merge 2 heightmaps together allowing for a larger map in total…