Inverts the input so the lowest values become the highest and vice versa, creating a negative or complementary version of a heightfield or color image. For VDMs it reverses the vertical displacement.
When to Use
- Flipping terrain: For heightfields, this flips valleys to peaks and vice versa.
- Complementary masks: Turn a mask into its opposite, so you can treat the selected and unselected areas separately.
- Reversing erosion patterns: Flip the pattern an erosion device carved, so channels become raised ridges.
- Color negatives: For RGB bitmaps, this creates a color-negative version.
How to Use
Connect a heightfield, bitmap, or vector displacement map to the input. There is nothing to set: the output is the inverted input. Full height becomes zero, zero becomes full height, and everything in between flips around the middle. Connect a mask to invert only part of the terrain.
Inputs
| Port Name | Type | Required | Description |
|---|---|---|---|
| Primary Input | Heightfield, RGB, or VDM | Required | The data to invert |
| Mask | Heightfield | Optional | Controls where and how strongly the inversion is applied |
Outputs
| Port Name | Type | Description |
|---|---|---|
| Primary Output | Same as input | The inverted data |
Parameters
This device has no parameters.
Tips and Tricks
- For VDMs, the vertical part of the displacement is reversed while the sideways displacement is kept, so bumps become dents and dents become bumps
- Inverting twice returns to the original data