YOUR ACCOUNT

Round 2.003

This component is obsolete and its use in filters is not recommended. Use the recent version of the component.

The Round component calculates the channel-wise round function of the color supplied by the Source input, rounding it up or down to the nearest discretization level specified by the Granularity parameter. The alpha channel is not processed and is taken unchanged from the Source input.

Round is a map component, it can be located in the RGB Math category on the Components Bar. This component can output HDR colors. Like other RGB Math components, this component processes its inputs on a channel-wise basis, treating RGB channel values as signed floating-point numbers. For more information, see How Math Components Work.

Source: Map Input (HDR)

Provides the color to round. This input can accept HDR colors.

Granularity: Map Input (HDR)

Specifies the rounding threshold: to calculate the output, the Source value is divided by the Granularity value, the result is rounded to the nearest integer and then multiplied back by the Granularity value. This input can accept HDR colors.