Skip to content
Search

Unreal Landscape Import

This page describes the import workflow that was tested: a new Landscape in Unreal Engine 5.8.4, using Import from File. Other engine versions and setups were not tested. See What was not tested.

Noise Lab is not an Unreal plugin. You export files, extract them and import them yourself.

  1. Export a package or a heightmap. See Export.
  2. If you exported a ZIP, extract it. Unreal reads the files from disk, not from inside the ZIP.
  3. Click Export in Noise Lab. Under the primary button, the Unreal import panel lists the values to enter for your terrain. Import steps, Layers, Zones mask and Import details open the rest.
Resolution Components Section size Sections per component
505 × 505 4 × 4 (16) 63 × 63 quads 2 × 2
1009 × 1009 8 × 8 (64) 63 × 63 quads 2 × 2
2017 × 2017 16 × 16 (256) 63 × 63 quads 2 × 2

Scale X and Y are World width × 100 / (N − 1) and scale Z is Vertical span × 100 / 512. For the default terrain (1008 m, 512 m, 1009 vertices) all three are 100. These are Unreal Landscape scale values, not meters.

A 1 × 1 sections layout is also valid. The 2 × 2 layout gives fewer components, and it is the layout that was tested.

  1. In Unreal Editor, enter Landscape mode.
  2. Choose New, then Import from File.
  3. Select the .r16 file. If Unreal asks about a “Tiled Image”, choose No. It should only ask for renamed files that contain x, y, u or v followed by a number.
  4. Confirm the detected resolution. Unreal may preselect 1 × 1 sections per component. Set Sections Per Component to 2 × 2, enter the section size, then enter the Number of Components from the table.
  5. Check that Number of Components and Overall Resolution match the values in Noise Lab. Unreal can keep an earlier component count when you change Sections Per Component, which changes the resolution.
  6. Enter scale X, Y and Z.
  7. Click Import, and inspect the expected shape and elevation range.

To import layer masks and the Zones mask, set up the Landscape material and Layer Infos first.

  1. Create or open a Landscape material with a layer for each mask, named exactly as the layer. For example, use Landscape Layer Sample nodes feeding Lerp nodes over a base material. For the Zones mask, add a layer of your own, for example Zones.
  2. Use Layer Info assets from your own project, and set Blend Method to No Weight Blending on each.
  3. If you use Auto-Fill, check what it assigns. It can pick same-named Layer Infos from engine plugins instead of your own.
  4. In Landscape mode, choose New, then Import from File. Select the .r16 and the material, and enter the values above.
  5. In the Layers list, give each layer its Layer Info and set its layer file to the matching PNG. Keep Layer Alphamap Type at Additive.
  6. Click Import.

Each mask file holds one 8-bit weight per Landscape vertex, at the heightmap’s resolution and in the same row and column order. The other Blend Methods change the weights. Weight Blending (Legacy) rescales the layers at each vertex so that they add up to full weight, unless all are 0. Advanced Weight Blending scales layers in one blend group down where they add up to more than full weight, and leaves them where they do not. Independent masks therefore import with weights that differ from the files.

The region interchange bundle also holds one mask PNG per region. Those masks are meant for other tools, not for Landscape layers. If you import them as Unreal textures, for example to sample them in PCG, set sRGB off, Mip Gen Settings to NoMipmaps and Compression Settings to VectorDisplacementmap, then save.

A Noise Studio texture, including a Grunge mask or a Packed RGB texture, is a texture and not a Landscape layer. Import it with sRGB off. Unreal’s default import turns sRGB on and picks block compression with mipmaps, which changed the Coverage of a packed Stains mask by about 13.5 to 15 points in a measurement in Unreal Engine 5.8.4.

For a Packed RGB texture, VectorDisplacementmap with NoMipmaps kept every byte, and BC7 with sRGB off kept the values within about 2 levels on average. The full table, the recommendation and what was not tested are in Grunge Masks, Import into Unreal. The Unreal import panel in Noise Studio’s Export surface also advises a Wrap address mode and a whole-number UV scale for a seamless texture. The settings that were tested for region masks read by PCG are above.

The Landscape panel centers the new landscape on the location you give it. With the default location of (0, 0, 0) and a 1008 m terrain, the Landscape actor sits at X −50400, Y −50400, Z 0 centimeters, and the actor’s location is where vertex (0, 0) lies, the top-left of the preview.

In the tested imports, Unreal’s local X ran along the columns of the .r16 and local Y along its rows, matching the orientation described under Export. The measured reference vertices ruled out mirrored, transposed and 180° rotated layouts, each of which would have missed most of them by more than a meter.

Region positions in Noise Lab are terrain-local meters, and Noise Lab gives no Unreal world positions. To relate a region to a level, use the Landscape’s own transform.

Unreal Engine 5.8.4 (build 5.8.4-58902052+++UE5+Release-5.8), importing into a new Landscape with Import from File, Layer Infos set to No Weight Blending and Additive alphamaps.

Export Tested How
Heightmap A heightmap with an asymmetric test pattern Imported by hand, and in recorded editor runs
Layers Packages at 505, 1009 and 2017 A script that imports through Unreal’s own import code, and a Landscape panel import operated under the product owner’s supervision
Circle and Rectangle regions with a Zones mask Five exports: one terrain at 505, 1009 and 2017, and two more terrains at 1009 The same script, a Landscape panel import operated by an automated test, and one package imported by hand and inspected visually
Spline regions with a Zones mask Terrains with spline regions at 1009 and 2017, and the same terrain without regions for comparison A script that makes the same import call the Landscape panel makes
Region interchange bundle One 1009 package with the bundle: its .r16 as a new Landscape, its masks as textures and its CSV as a DataTable, then used in PCG A scripted run. See PCG Example.

In every tested import, every stored height, every collision height except the last row and column, every layer weight and every Zones weight equaled the exported files, including values on component and section seams. The collision check skips the last row and column because Unreal does not answer height queries there. Line traces covered those vertices.

For the spline imports, Unreal itself measured the changes and the exports:

  • A Raise / Lower spline raised the core by 8.00 m and another lowered it by 6.00 m, as set.
  • A Follow-Path corridor was flat across its core, varying by less than 1 cm where the raw terrain varied by 18 to 168 cm.
  • Spline centerlines matched the manifest’s within 2 cm.

These are not tested. Treat them as unknown, not as unsupported or as working.

  • Unreal Engine versions other than 5.8.4.
  • Importing into an existing Landscape.
  • World Partition.
  • Edit Layers workflows.
  • Blend Methods other than No Weight Blending. In earlier measurements Unreal changed the weights of independent layers under Weight Blending (Legacy) and, where layers add up to more than full weight, under Advanced Weight Blending.
  • Packages made by Firefox or WebKit, imported into Unreal. Their decoded samples equal Chromium’s, but only Chromium’s files were imported.
  • The Landscape panel route for spline packages. The test script used the same import arguments instead.
  • The region interchange bundle imported through the editor’s own dialogs. Only a scripted run was made.
  • The JSON sidecar in Unreal. Unreal does not read it, and the example did not use it.
  • Region masks and the CSV in other uses than the scripted PCG example. See What was not tested there.
  • The triangles of Unreal’s render mesh.
  • Walkability. Noise Lab’s slope estimate was compared with one default character in Unreal. It is not a walkability guarantee.