UV Remap

Introduced in the Dragontail Peak release.

Moves heightfields, bitmaps, VDMs, materials, water, ID grids, or other UV maps through a UV map, so that data created in one layout lines up with another.

When to Use

Use UV Remap whenever a device changes the layout of its data and you need other maps to follow:

  • After VDM to HF+Cliff: Carry a mask or texture computed on a VDM onto the heightfield that VDM to HF+Cliff produced, or bring a mask painted for the base terrain back onto the VDM.
  • After VDM Optimize: Carry other maps through the way VDM Optimize redistributed the VDM’s surface.
  • Whole materials and terrains with water: Remap every channel of a material, or a terrain together with its water, so they all stay lined up.

What a UV Map Is

A UV map records, for every pixel, where in the source data that pixel should be read from. Some devices that change the layout of their data output one alongside their main result, so you can carry other maps through the same change:

  • VDM to HF+Cliff outputs a VDM->WS transform that maps data from the VDM’s layout into the layout of the base heightfield it produces.
  • VDM Optimize outputs a UV map that describes how it redistributed the VDM’s surface.

How to Use

Connect a UV map to the Transform input and the data you want to move to Input 1; the remapped data comes out of Output 1. Connecting a wire to Add Input adds another channel.

  1. Build the device that produces your UV map, such as VDM to HF+Cliff or VDM Optimize.
  2. Connect its UV output to the Transform input of UV Remap.
  3. Connect the data you want to carry through the change to Input 1. Connect more data to Add Input to remap several maps at once.
  4. Turn on Invert mapping if the data comes from the other side of the change.

Inputs

Port NameTypeRequiredDescription
TransformUV MapRequiredThe mapping to apply
Input 1, Input 2, …Heightfield, Bitmap, VDM, Material, Water, ID grid, or UV MapAt least oneThe data channels to remap
Add InputHeightfield, Bitmap, VDM, Material, Water, ID grid, or UV MapOptionalConnecting a wire here adds a new channel

Outputs

Port NameTypeDescription
Output 1, Output 2, …Same as the matching inputThe remapped data for each channel
Add OutputSame as the Add InputSpare output that pairs with Add Input; it becomes the next numbered output once a wire is connected

Each Input has a matching Output with the same number. All channels share the same Transform.

Parameters

Channels (Default: 1, Range: 1-16) The number of data channels to remap through the mapping. Each channel adds an input and output pair. You rarely need to set this by hand: connecting a wire to the Add Input port adds a channel automatically.

Strength (Default: 1.0, Range: 0.0-1.0) How far the inputs move toward their remapped positions. At 1.0 the full mapping is applied; at 0.0 the inputs pass through unchanged. This parameter accepts spatial input, so a map can apply the mapping fully in some areas and less, or not at all, in others. Values in between work well for smooth, gentle mappings. With a mapping that jumps between separate parts of the input, as the one from VDM to HF+Cliff does at cliffs, in-between values tear the result apart there, so use 0.0 or 1.0 in those areas.

Invert mapping (Advanced) (Default: off) Reverses the direction of the mapping, so that data moves from the destination layout back to the source instead of the other way around. For example, with VDM to HF+Cliff‘s transform, leave this off to bring VDM-layout data onto the heightfield, and turn it on to bring heightfield-layout data, such as a mask painted for the base terrain, back onto the VDM. Inverting takes extra build time.

Filtering (Advanced) (Default: Bicubic) How each remapped pixel’s value is worked out from the input pixels around it. The same setting applies to every channel, except ID grids, which always use Nearest.

  • Nearest takes the single closest input pixel and never blends values. Use it for ID maps, category maps, or any data where a value halfway between two neighbors is meaningless. Edges come out blocky rather than smooth.
  • Bilinear blends the four surrounding pixels. The result is smooth but slightly soft, and fine texture detail loses some contrast.
  • Bicubic uses a wider neighborhood to keep detail and edges crisper. It is the best choice for textures, masks, and terrain in most cases.

Antialiasing (Advanced) (Default: on) Some mappings squeeze a large area of the input into just a few pixels. This is common on steep ground, where the face of a cliff in a VDM is many pixels tall but only a pixel or two wide in the heightfield it is remapped onto. With antialiasing off, each of those pixels picks a single point from the area it covers, so fine detail such as a checker or a brick pattern breaks up into noise and blobs. With antialiasing on, each pixel takes the average of the area it covers, and the detail blends cleanly instead.

Only the squeezed areas are affected, and only in the direction they are squeezed, so the rest of the result stays as sharp as before. Squeezed areas take somewhat longer to build, and for heightfields and bitmaps they look the same under Bilinear and Bicubic. VDMs keep the chosen filter there as well, since Bilinear leaves a VDM’s surface visibly faceted.

Under Nearest, and for ID grids, nothing is ever averaged. With antialiasing on, a squeezed pixel instead takes the value that is most common in the area it covers, so the edges between regions stay clean instead of breaking into speckle. A feature thinner than the squeeze, such as a one-pixel line, can disappear. Turn antialiasing off to keep the single value at each pixel’s exact position. On smoothly varying data, such as an ordinary terrain heightfield, this makes little visible difference under Nearest.

VDM handling (Advanced) (Default: Retopologize) How a VDM is carried through the mapping. This only affects VDM inputs.

  • Retopologize leaves the surface exactly where it is in space and only changes which part of the grid holds each part of it. Use it with the UV maps World Machine produces itself, from VDM Optimize and VDM to HF+Cliff. With a UV map that distorts the layout, such as one you built yourself, the terrain will not appear to move.
  • Warp XY moves and reshapes the surface with the mapping, the same way heightfields and bitmaps are moved, so a VDM and a heightfield sent through the same Transform stay lined up. Overhangs are turned and stretched to follow the mapping. Where the mapping changes sharply across the width of a large overhang, the overhang’s shape is only approximate.

Data Types

  • Heightfields and bitmaps are resampled to their new positions using the Filtering setting.
  • ID grids (byte and integer ID maps) keep their exact values: every output pixel holds an ID that exists in the input. Filtering does not apply to them.
  • Water has its surface and depth remapped like heightfields, using the Filtering and Antialiasing settings. Its flow directions are also turned to follow the mapping, so rivers still flow along their channels. Remap the terrain the water belongs to through the same Transform, in the same device, so the two stay lined up.
  • UV maps are combined with the Transform. The output is a single UV map that does the work of both: remapping data through it gives the same result as remapping through the input UV map first and the Transform second. Filtering and Antialiasing do not apply to a UV map.
  • VDMs follow the VDM handling setting. By default they are moved as surfaces: each point keeps its true position in space.
  • Materials have all their maps (color, normal, displacement, ambient occlusion, roughness, metalness, and mask) remapped together with the same settings, so they stay aligned with each other.

Tips and Tricks

  • At least one data input must be connected; otherwise the device reports “No data inputs are connected”.
  • To replace two UV Remaps in a row with one, connect the first one’s UV map as a data input of a UV Remap that uses the second one’s UV map as its Transform. Remapping through the UV map it outputs resamples your data once instead of twice, which keeps it sharper.
  • ID grids are handled correctly whatever Filtering is set to, so they can share a UV Remap with smoothly filtered data. If a heightfield or bitmap carries IDs or categories instead, set Filtering to Nearest. Since that setting covers every heightfield and bitmap channel, use a second UV Remap with the same Transform if your other data needs smooth filtering.

Limitations

  • The device cannot be masked, because its output pixels no longer line up with its input. Mask the result downstream instead.
  • Antialiasing keeps squeezed detail from breaking up, but a heightfield still holds only one value per pixel. A texture remapped onto a steep slope will look softer there than the same texture drawn on a cliff mesh.

Older Versions

Filtering, Antialiasing, and VDM handling were added in Build 4070. A UV Remap in a project saved by an earlier build keeps its original look (Bilinear for heightfields and bitmaps, Bicubic for VDMs, no antialiasing) and does not show these parameters, accept a map for Strength, or accept water, ID grids, and UV maps as data, until you update the device to its current version.

Updated on December 3, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support