注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
Lerp Contrast Preserving Node
Description
This node is used to blend (linear interpolation) between two input colors Color 0 and Color 1 depending on the Blend (0-1) value. The colors Color 0 Blurred and Color 1 Blurred enable you to affect intermediate color values.
- if Blend = 0 the node outputs Color 0 value
- if Blend = 1 the node outputs Color 1 value
- for all other Blend (0-1) values the node outputs a linear blend of Color 0 and Color 1 with respect to the Color 0 Blurred and Color 1 Blurred values.
This node preserves contrast avoiding intermediate "dirty" color shades unlike the Lerp node. For example, if you decide to blend red and green color, Lerp Contrast Preserving will let you get yellow output, while with Lerp you'll get muddy brown.
Last update:
2022-12-14
Help improve this article
(or select a word/phrase and press Ctrl+Enter)