Houdini 20.5 Nodes Copernicus nodes

Feather Copernicus node

Smooths out sharp changes in contrast.

On this page

This operation limits sharp changes in contrast by enforcing a maximum rate of change from one pixel to the next. This can provide a beveled-like look to height fields.

Feather can be used instead of blur in order to extend masks strictly outwards or strictly inwards.

Note: To properly create a tiling texture, it may be necessary to enable Include Border and repeat the feather twice.

Parameters

Signature

The layer type that the source accepts.

See Signatures for more information.

Mask

The amount of the new value to mix in with the original value. Higher values mix in more of the new value. Lower values mix in less of the new value. You can also set the RGBA channels to which you apply the effects of this node.

The default value is 1, which means this node uses only the new value. See Mask for more information.

Feather from High to Low

The direction to enforce the change in. Feathering from high to low will leave bright pixels unchanged, but raise the value of surrounding darker pixels until the slope is met. Feathering low to high will leave dark pixels unchanged, and reduce the value of bright pixels to enforce the maximum slope.

Include Border

Whether to source the initial pixel values from outside of the image bounds. With constant borders this can be used create an edge-mask.

This is required for tiling textures.

Feather Direction

The slope enforcement can be performed as a series of passes in each direction.

Diamond

Enforce in horizontal and vertical passes, resulting in diamond shaped islands.

Square

Enforce in diagonal passes, resulting in square shaped islands.

Octagon

Enforce in horizontal, vertical, and diagonal passes, resulting in octagon shaped islands.

Custom

Specify excactly which passes should be enforced.

Circle

Enforce uniformally in all directions using a different algorithm. This results in circular shaped islands.

Sweep Directions

In the custom mode, this controls which directions feather is applied in. This allows a one-sided feather that can be used to make ramp-like shapes.

-X

Enforce in negative X.

+X

Enforce in positive X.

-Y

Enforce in negative Y.

+Y

Enforce in positive Y.

-X-Y

Enforce diagonally in negative X and negative Y.

-X+Y

Enforce diagonally in negative X and positive Y.

+X-Y

Enforce diagonally in positive X and negative Y.

+X+Y

Enforce diagonally in positive X and positive Y.

Feather Method

The enforced maximum change can be specified either by what distance will result in a unit-change, or how much of a change occurs over a unit distance. These are inverses of each other.

Distance for Unit Change

In this distance, in image coordinates, a 1 value will be able to change to 0 value.

Change per Distance

Over a unit image coordinate distance, a value is allowed to change by this amount.

Distance for Unit Change

The distance, in image coordinates, at which the values can change by a value of 1.

Change per Distance

The amount values are allowed to change for every unit distance in image coordinates.

Inputs

source

The original layer to feather.

mask

An optional per-pixel mask amount that’s scaled by the Mask parameter.

Outputs

feather

The layer with the rate of change enforced.

See also

Copernicus nodes