Download

UE5 - Landscape paint layers + world partition?

I imported a landscape into a map with World Partition enabled, but there seems to be no option for exporting or importing the paint layer masks there.

If I import the terrain as a single heightmap with no partitioning switched on then I do get those options back.

So what is the intended workflow now for terrain + world partition. I noticed that exporting the heightmaps exports them as tiles instead of one large heightmap so will this work the same for paint layers? And if so is it simply not implemented yet or is there something I’m missing?

cheers.

I am experiencing the same. Im trying to import paint layers on a landscape with world partition.

This is what I see
https://infusestudio.gyazo.com/a00157e0bff4f1438cb946e757ad8e87
This is what you’d see in ue4.
https://infusestudio.gyazo.com/83bc5104e751d4f2c097554120eafe87

No, at the moment (if ever) there seems to be no method allowing you to save the HeightMap in UE5 with World Partition.

Here is MY workflow. Do how you see fit.

  1. Get a height map (me, I chose an island in Hawaii).
  2. Edit the height map in your favorite image editor so that the LOWEST (darkest) is modified to be 50% (basically this SHOULD raise all shades of gray). This is APPROXIMATELY 0 (I can’t get exactly zero).
  3. Do basic image cleanup in the image editor.
  4. For things that need 3D editing (finding spikes in real world data) I use UE4.26. The tools are reasonably stable.
  5. In UE5 I have three maps:
  • Dummy Map
  • Map
  • Map without landscape
  • Dummy map is what I set the editor to in case UE5 pukes. I don’t want to come back to a barfed map (it has happened).
  • Map is my working map
  • Map without landscape is my working map MINUS the landscape. How do you do that? With the working map open, open all the little chevrons like so and do a copy:

    Then open the Map without Landscape and paste over what you have. Save All.

This has allowed me to work with UE5 with world partition without too much disruption. Is it ideal? No, but it DOES make it easier.

FYI, at least under macOS the sculpting tools are a mess with world partition.

EDIT: No, you apparently can’t delete a landscape once it is imported.

I appreciate the thorough response. :slight_smile: But I actually how no issues reimporting height maps into my partitioned world. And I am able to sculpt the terrain in a layer so that the original heightmap is preserved. These are another topic…

My question is how I can import maps into landscape paint layer(For the landscape material).
Usually, I would use World Creator to generate splat maps that I would import into the paint layer. But these import and export options are missing in UE5.

Maybe someone has another method of using splat maps in ue5?

Yeah I also can import/export tiled heightmaps, not really a problem there.

But the paint layers just seems to be broken, I can’t believe Epic would have just forgotten to get them working with partitions - but who knows!? A lot was made of this new system and tiled worlds so this seems a massive oversight.

For instance the landscape layering system in materials, procedural foliage, foliage grasstypes, even road splines that can render into a landscape layer - all use landscape layers. So the question is why do they not work with world partition?

There are workarounds for shaders/splatmaps but for any of the other stuff to work you need the layer system :thinking:

1 Like

I got too cocky saying I could re-import the heightmap onto the existing partitioned terrain. Seems like I cant even do that anymore without everything blowing up!

I will try your method @cannasoftware. I really hope this all gets fixed pretty soon

EDIT - Ah I don’t see anything there about reimporting, I’m just gonna assume this is knackered too and try working in a non partitioned level for now.

Ok so I seem to have it working again.

I been trying to replicate the steps I needed to do to be able to reimport the terrain from an edited World machine file and this is what got it working (today at least).

So there was no option on the ‘import’ tab for the heightmap, it was just greyed out. What I did was go to ‘new’ and import a new terrain from the heightmap file. This created a second terrain in the scene. Then I went back to ‘import’ and lo and behold the import was now un-greyed out and the button was available to press again (had to choose the right terrain first from the dropdown) I then did save all and reloaded the map and for whatever reason the newly created heightmap was no longer in there and the old one had the import button available again.

I don’t know why that worked but it worked so I’ll take it for now. Will post any further workarounds in this thread.

Tata for now…

Hi there!

I struggled to find any answer for that…

I gave up on the idea to have the option enabled, and now I just create the terrain (with imported heightmap and paint layers) under UE4, convert the project to UE5, then convert the level into WP.
I guess/hope the option will be re-enabled in one of the next UE5 release, but for now this works fine!

Cheers!

Yeah, @EggsBenedict, I fought this until I came up with my “workaround” — the reasons for the Dummy map is there is an edge case where you do everything right and starting up UE5 blows up loading the map. I hope it is rare (it happened to me enough that I said some foul language and went with my “stupid” solution).

No import like in 4.26 so, yeah, meh.

The “Map without Landscape” is everything BUT the height map. Downside is that every time you make changes to the level, you have to copy everything over. Total mess.

I’ll let you know if I find a workaround for the landscape layers (that’s my next bit of work).

Glad I’m not the only one having loads of trouble with this.

BTW, I also posted these problems on UDN so will keep you updated if I get any response on there…

2 Likes

For the guys in this thread, I asked on UDN and they are currently working on the landscape system and they know about this issue (well they sure do now :)).

Unfortunately he couldn’t give me an ETA on when it will be fixed tho :frowning:

3 Likes

Awesome! Thank you for letting us know.

1 Like

Do you have a link to the UDN thread on this?

Yes mate it’s here…

https://ue5help.epicgames.com/s/question/0D54z000073ZQTeCAO/no-option-to-import-landscape-layer-weightmaps-when-using-world-partition

1 Like

If you want to bump it be my guest :wink:

1 Like

Seems to have been removed!

One work around is to do the following:

-Go into landscape editing mode > Sculpt > Copy

-Set the landscape gizmo to cover your landscape.
It is important to specify the dimensions of the landscape gizmo:
for example, if your landscape is 4033m x 4033m, set your landscape gizmo to size 403300 x 403300 x enough z height to cover your landscape.

-Copy Data to Gizmo

-Export file.

You can use this raw file to import to a new landscape, just set the resolution manually.

If you would like to convert it to a more standard 16bit png, you can use (for example) imagej Fiji image tool. When importing the raw file, set the resolution correctly (gizmo size \ 100) and choose little endian / 16bit unsigned.