亮度/对比度节点

../../../_images/compositing_node-types_CompositorNodeBrightContrast.png

亮度/对比度节点。

输入

图像

标准化图像输入。

亮度

可以使图像整体变亮的乘数类型系数。使用负值可使图像变成暗色调。

对比

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.

属性

转换预乘

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.

Alpha通道.

输出

图像

标准图像输出。

注意

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 amp up 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.

例子

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

HSV示例效果。