Chooser

Blends between two heightfield, color, material, or VDM inputs using a control mask or balance parameter. The Chooser is the recommended way to perform an “alpha blend”, “layer”, or “over” operation in World Machine.

When to Use

  • Layering: Place one terrain, texture, or material over another, using a mask as the alpha. You can cascade Choosers like layers in an image editor: the output of the first Chooser becomes Input A of the next, with the new layer in Input B. For more than a few layers, Layers does the same job in one device.
  • Smooth terrain transitions: The height-matching blend joins two terrains smoothly while both keep their detail through the transition.
  • Compositing premultiplied layers: Composite pre-rendered layers that carry their own alpha.
  • Even mixes: With no mask connected, mix the two inputs in a set ratio across the whole terrain.
Three Colorizers layered with two cascading Choosers, using slope and height masks
Three layers combined with two Choosers

How to Use

Connect two inputs of matching types to Input A and Input B, then connect a control mask: by default, black areas of the mask take Input A and white areas take Input B. When no control mask is connected, Balance creates a uniform blend across the whole terrain instead.

  1. Choose the blend Method:
    • Use Standard blend for most cases
    • Use Height-matching blend for terrain that should blend smoothly while preserving detail
    • Use Premultiplied layer when compositing pre-rendered layers with alpha
  2. Adjust Mix order if the mask selects the wrong input.
  3. For height-matching, adjust Favor Elevations From to control average output height.

Inputs

PortTypeRequiredDescription
Input AHeightfield, RGB, Material, or VDMYesFirst input to blend
Input BHeightfield, RGB, Material, or VDMYesSecond input to blend
Control MaskHeightfieldOptionalDetermines which input is chosen (0=A, 1=B)

Outputs

PortTypeDescription
Primary OutputHeightfield, RGB, Material, or VDMBlended result matching input types

Parameters

Method (dropdown) Determines how the inputs are blended:

  • Standard blend (straight alpha): Linear interpolation between the two inputs, layering one over the other with the control mask as alpha. This is almost always what you want
  • Height-matching blend: Keeps the transition smooth while both inputs keep their detail through it, without the washed-out look a plain crossfade can give
  • Premultiplied layer: Composites a premultiplied layer with alpha over the first input

Default: Standard blend

Mix order (dropdown) Controls which input is selected by high (white) values in the control mask:

  • High values choose A: White in mask selects Input A
  • High values choose B: White in mask selects Input B

Default: High values choose B. Not available when Premultiplied layer is selected.

Balance (range: -1.0 to 1.0) Shifts the control mask toward low or high values. Positive values push the mask toward white and so favor the input that high values choose (Input B with the default Mix order); negative values favor the other input. With no control mask connected, Balance sets the whole blend: -1 gives all of one input, 0 an even 50/50 mix, and 1 all of the other. Default: 0.0. Not available when Premultiplied layer is selected.

Favor Elevations From (range: 0.0 to 1.0) Only visible for Height-matching blend. Controls whether the average output value matches Input A (0.0), Input B (1.0), or somewhere in between (0.5). Default: 0.5.

Tips and Tricks

  • Height-matching blend works on heightfields, colors, and materials. For VDM inputs it behaves like the standard blend
  • Premultiplied layer mode requires a control mask (the device reports an error without one) and always layers Input B over Input A
  • For materials, all channels (diffuse, normal, height, roughness, metalness, AO, mask) are blended consistently
  • With a mask connected, Balance raises or lowers the whole mask, which moves the transition between the inputs without changing the mask itself. Values pushed past black or white simply clip
Updated on December 3, 2026
Was this article helpful?

Related Articles

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