Weighted Blend
The Linear Interpolator. Blends two float inputs (A and B) based on a per-tile weight field.
Ports
| Port | Type | Description |
|---|---|---|
| A | Float | The first input source. |
| B | Float | The second input source. |
| Weight | Float | The control field (0.0 to 1.0). 0.0 = Pure A, 1.0 = Pure B. |
| Output | Float | The blended result. |
Details
Unlike the standard Blend node (which uses a single constant opacity or a blend mode like Add/Multiply), the Weighted Blend node performs a per-tile lerp (linear interpolation). This allows for spatial transitions between two different noise patterns or maps.
Parameters
- This node is driven entirely by its input ports.
Potential Use Cases
- Noise Layering: Blend a "Large Scale Noise" (A) with a "Detail Noise" (B) using a "Distance from Center" gradient as the Weight. This creates a map that is smooth in the middle and rough at the edges.
- Dynamic Terrain: Blend two different heightmaps based on a "Moisture" map to create different terrain textures in dry vs. wet areas.
- Soft Masks: Use a blurred mask as the Weight to create a soft, natural transition between a "Forest Floor" noise and a "Meadow" noise.
Float