YOUR ACCOUNT

3-Color Gradient

The 3-Color Gradient component produces a gradient defined by three colors and their positions. This is a map component, it can be located in the Gradients category on the Components Bar. 3-Color Gradient is a discrete component: any filter that uses it is automatically classed as a discrete filter. This component can output HDR colors.

Color 1, 2, and 3: Map Inputs (HDR)

These parameters specify the three colors of the gradient. The positions of these colors within the gradient are determined by the corresponding parameters Position 1, 2 and 3. When a map component is connected to any of these inputs, its output is 'seen through' the area of the corresponding color. These inputs can accept HDR colors.

Rotate: Map Input (HDR)

Specifies the direction of the gradient. When Rotate is set to 0, the gradient is oriented horizontally, with the colors arranged from left to right. Rotate of 90 rotates the gradient by 90 degrees clockwise, so that the colors are arranged vertically, from top to bottom. Rotate of 180 rotates the gradient by 180 degrees clockwise, relative to the position of Rotate of 0. Rotate of 270 rotates the gradient by 270 degrees clockwise, relative to the position of Rotate of 0.

When a map component is connected to this input, the number of the selected list item is determined separately for different image areas by the HDR brightness level of the image supplied by that component. The item number is calculated as the brightness level rounded to the nearest integer: the brightness level of 0 to 0.5 corresponds to the first item, the level of 0.5 to 1.5 to the second item, 1.5 to 2.5 to the third item etc. Out-of-range values are clipped, which corresponds to the last item of the list.

Repeat: Map Input (HDR)

Specifies how many times the gradient is repeated. The actual number of repetitions within the output image is also affected by the global parameter Size and the image dimensions (width or height, depending on the Rotate parameter). For example, when Repeat is 3, Size is 600 pixels and the image width is 1200 pixels, the pattern will be repeated 6 times within the image width.

When a map component is connected to this input, the number of repetitions is determined separately for different image areas by the HDR brightness level of the image supplied by that component. The number is calculated as the brightness level rounded to the nearest integer: the brightness level of 0 to 0.5 corresponds to the Repeat value of 1, the level of 0.5 to 1.5 to the value of 2, 1.5 to 2.5 to the third item etc. Out-of-range values are clipped, which corresponds to the maximum slider value.

Position 1, 2, and 3: Numeric Inputs

These parameters specify the position of each color within the gradient. Position 1 defines the position of Color 1, Position 2 of Color 2, and Position 3 of Color 3. The values range from 0 to 100 and are measured as percentages of the global parameter Size. For example, if Size is 600 pixels and Position 1 is 10, the first color will be positioned at the 60th pixel from the image border.

Transition: Curve Input

Determines the transition between the colors of the gradient. Four predefined transitions are available: Linear, Smooth, Bands, Waves. To customize the transition, connect a curve component to this input.

In order to produce a smooth transition, the curve connected to the Transition input must start at 0 and end at 100% — curves like Linear, Step, Gain and Stairs are perfect choices, while curves like Noise or Wave will require additional adjustments or modifications (for example, you can use the Fade component to force the start and end of any curve into desired positions).