Masked View

Views terrain, textures, or materials with a mask applied, either fading out areas based on the mask values or cutting holes in the terrain the way a game engine’s hole mask does.

When to Use

  • Previewing cutout masks: See what a mask will cut out before you output it.
  • Checking hole masks: Use Hole map to check a hole mask before exporting it to a game engine that supports terrain holes; if your mask marks the terrain to keep in white, invert it first.
  • Previewing masked materials: Preview a masked material application.

How to Use

Connect your terrain, texture, or material to the primary input and a heightfield mask to the Alpha mask input. If no alpha mask is connected, the input passes through unchanged.

  1. For a heightfield terrain, choose Alpha (checkerboard) to preview transparency, or Hole map to preview holes cut in the terrain
  2. In alpha mode, select the appropriate alpha mask interpretation; areas where the mask is black (0.0) will be fully transparent, white (1.0) fully opaque

Inputs

Port NameTypeRequiredDescription
Primary InputHeightfield, RGB, Material, VDM, or MeshRequiredThe data to be viewed with the mask applied
Alpha maskHeightfieldOptionalThe mask. As an alpha mask it defines transparent (0.0) and opaque (1.0) regions; as a hole map, light areas mark the holes

Outputs

This device produces a visualization output only and has no output ports for connecting to other devices.

Parameters

Masking – How the mask is shown on a terrain. Default: Alpha (checkerboard). This setting only appears when a heightfield is connected to the primary input.

  • Alpha (checkerboard): The mask is treated as transparency. Where the mask is dark, the terrain’s coloring fades to a checker pattern.
  • Hole map: The mask is treated as a game engine’s terrain hole mask. Every grid square touching a mask value of 0.5 (mid-grey) or lighter is cut away from the terrain, and the rest keeps its normal shading. Note that this is the opposite of the alpha mode: here white marks a hole. The terrain’s heights are not changed.

A VDM or mesh input always shows holes, so Masking is hidden for them. Images and materials are always shown with transparency.

Alpha mask – Specifies how the alpha mask values are interpreted. Default: Unassociated. This setting is hidden in Hole map mode and for VDM and mesh inputs.

  • Unassociated: The mask defines transparency independently. The device will premultiply the input data by the mask before display.
  • Associated (premultiplied): The input data is already premultiplied by alpha. No additional premultiplication is applied. World Machine devices such as Shapes, Scatter, and Layers produce premultiplied results.

If this is set incorrectly, data that was already premultiplied shows a pronounced edge effect where the mask is applied twice, and data that was not premultiplied shows up outside its masked area.

This setting applies to heightfield and RGB inputs. A material input always has the mask attached as its own mask, and its height (displacement) channel is always multiplied by the mask.

Tips and Tricks

  • Use unassociated mode when the mask is generated separately from your texture data
  • Use associated mode when working with pre-composited data where color values are already multiplied by alpha

Limitations

  • Holes are cut a whole grid square at a time, so their edges follow the grid of the mask rather than its smooth gradients
Updated on December 3, 2026
Was this article helpful?

Related Articles

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