Maximum size of heightmap?

Hey everyone. I am wondering what the maximum size of a heightmap you can import to UE4? The HM I plan on using is a bit over 8k x 8k.

A height map is just a texture, essentially, and obeys the same size restrictions, so you can’t import something over 8192x8192. I strongly recommend against using non-power-of-2 textures at all, though, because they can have severe performance costs. If your texture is only a bit over 8k, scale it down to 8k.

But if it’s more than that, you need another trick. You can’t import a texture higher than 8k, but you can import multiple textures. If you really need the extra resolution, then you can split your texture, and then sew it back together. I’ve done this for a cinematic scene before, you just multiply the texture coordinates by the amount you need (if you need a 16k texture, for example, multiply it by 2), then use a mask to filter out the textures you want. This is an expensive operation, though, as you’re essentially doubling your texture samples. The only time I’ve ever done this was when I was rendering out the scene to an AVI. I strongly recommend against using this method for real-time rendering. There are very few situations where such a high resolution texture is necessary, and for height maps, these are even rarer still (humans are much better at spotting aliasing in diffuse or normals than they are at heights). Even 8k textures are overly high resolution for most uses, and many graphics cards don’t support them anyway.

Hi, you sound like the perfect person to answer this question I’ve had for months.

Im trying to make a massive landscape for one of my side projects. Not as big as the GTA 5 map, but a comparable size.

I’m wondering how games like GTA can have a massive map that is seamless. Having mountain and hill ranges span over several km with no gaps or weird lines.

Ive tried to find out how to join two landscapes into one. I haven’t found a solution. Is this possible in UE5?

Im looking into level streaming, but i still need the landmass/landscape to be one seamless piece if land.

Is this a question(s) you can answer? This would help me hugely. I really appreciate it.

Thank you