Brightness/Contrast Node

Brightness/Contrast Node.

Inputs

Image

Standard color input.

Brightness

An additive-type factor by which to increase the overall brightness of the image. Use a negative number to darken an image.

Contrast

A scaling type factor by which to make brighter pixels brighter, but keeping the darker pixels dark. Higher values make details stand out. Use a negative number to decrease the overall contrast in the image.

Eigenschaften

Convert Premultiplied

By default, it is supposed to work in premultiplied alpha. If the Convert Premul checkbox is not enabled, it is supposed to work in straight alpha.

See Alpha Channel.

Outputs

Image

Standard color output.

Hinweise

It is possible that this node will put out a value set that has values beyond the normal range, i.e. values greater than one and less than zero. If you will be using the output to mix with other images in the normal range, you should clamp the values using the Map Value node (with the Min and Max enabled), or put through a Color Ramp node (with all normal defaults).

../../../../_images/compositing_types_color_bright-contrast_clamp-values.png

Clamp the values to normal range.

Either of these nodes will scale the values back to normal range. In the example image, we want to intensify the specular pass. The bottom thread shows what happens if we do not clamp the values; the specular pass has a value much less than one in the dark areas; when added to the medium gray, it makes black. Passing the brightened image through either the Map Value or the Color Ramp node produces the desired effect.

Example

../../../../_images/compositing_types_color_bright-contrast_basic-example.png

A basic example.