Combines two heightfield, color, or VDM inputs into one, using a choice of blending operations such as average, add, multiply, or smooth max.
When to Use
- Blending terrains: Smooth Max and Smooth Min blend terrains with natural-looking transitions.
- Adding detail: Use Detail w/ Differences to add fine detail maps where 50% gray means no change. Extract Differences and Detail w/ Differences work as a pair: extract the difference between a detailed and a smoothed terrain, process it, then add it back with Detail w/ Differences.
- Masking and darkening: Multiply applies masks and darkening effects.
- Brightening: Screen brightens and adds atmospheric effects.
- Comparing terrains: Extract Differences creates difference maps for comparing terrain versions.
- Recoloring: The RGB-only methods (Luminance, Color, Hue) transfer the lightness or color of one color map onto another.
How to Use
Connect two inputs of the same kind to the two Primary Inputs. By default the method is Average at full Strength, which outputs the second input; pick a Method to choose how they are combined.
- Connect two inputs of matching types (heightfields, colors, or VDMs).
- Choose a blending Method.
- Adjust Strength to control the blend intensity.
- Optionally connect a mask to control the combination per-pixel.
- For Smooth Max/Min operations, adjust Smoothness to control transition sharpness.
- Enable Invert Second Input if you need to work with the inverse of the second input.
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Primary Input (first) | Heightfield, RGB, or VDM | Yes | First input (A), the base that the second input is combined into |
| Primary Input (second) | Heightfield, RGB, or VDM | Yes | Second input (B) |
| Mask Input | Heightfield | Optional | Controls the strength of combination per-pixel. Where the mask is black, the first input passes through unchanged (Extract Differences fades to 50% gray and Absolute Differences to black instead) |
Both inputs must be the same kind of data, with one exception: a heightfield combined with a color input is converted to grayscale color and the result is a color map. VDM inputs can only be combined with other VDMs.
Outputs
| Port | Type | Description |
|---|---|---|
| Primary Output | Heightfield, RGB, or VDM | Combined result matching input types. Heightfield and color results are clamped to the 0 to 1 range |
Parameters
Method (dropdown) The blending operation to use. Available methods:
- Average: Crossfades from the first input to the second. Strength is the share of the second input, so at the default Strength of 1.0 the output is entirely the second input; use 0.5 for an even mix
- Add: Adds the second input, scaled by Strength, to the first
- Subtract: Subtracts the second input, scaled by Strength, from the first
- Multiply: Multiplies the inputs together; Strength fades between the first input and the full product
- Divide: Divides the first input by the second. Results above 1 are compressed rather than cut off, and Strength scales the result, so lowering it brings bright areas back into range. Where the second input is black, the output is black
- Screen: Photoshop-style screen blend, which brightens the first input using the second
- Overlay: Where the second input is brighter than 50% gray it brightens the first input, and where it is darker it darkens it. Strength sets how strong the effect is
- Smooth Max: Keeps the higher of the two inputs, with an optional smooth transition (see Smoothness)
- Smooth Min: Keeps the lower of the two inputs, with an optional smooth transition
- Power: Pushes the first input darker (lower), more strongly where the second input is bright
- Root: Pushes the first input brighter (higher), more strongly where the second input is bright
- Extract Differences: Outputs the difference between the inputs centered on 50% gray: brighter where the first input is higher, darker where the second is
- Detail w/ Differences: Adds detail from the second input to the first. 50% gray in the second input produces no change
- Absolute Differences: Outputs how far apart the two inputs are, black where they are equal
- Luminance (RGB only): Gives the first input the lightness of the second, keeping the first input’s colors
- Color (RGB only): Gives the first input the colors (hue and saturation) of the second, keeping the first input’s lightness
- Hue (RGB only): Gives the first input the hue of the second, keeping the first input’s lightness and saturation
The three RGB-only methods report an error when both inputs are heightfields.
Default: Average
Strength (range: 0.0 to 1.0) Controls the intensity of the combination. Higher values produce more pronounced effects; at 0 most methods return the first input unchanged. Default: 1.0. This parameter accepts spatial input for per-pixel control.
Smoothness (range: 0.0 to 1.0, logarithmic) Only visible for Smooth Max and Smooth Min methods. Controls the width of the smooth transition region between the two inputs. 0 produces a hard edge. Default: 0.0. This parameter accepts spatial input.
Invert Second Input (checkbox) When enabled, inverts the second input (black becomes white) before combining. Default: off.
Tips and Tricks
- The device displays its current method as its name in the graph.
- The Swap Inputs action on the device swaps the first and second inputs, which matters for every method that is not symmetric (Subtract, Divide, Overlay, Detail w/ Differences, and so on).