颜色表达式

对颜色输入执行操作的表达式。

Windows
MacOS
Linux
On this page

去饱和度

去饱和度(Desaturation) 表达式对其输入进行去饱和,即根据特定百分比将其输入的颜色转换为灰色阴影。

项目

说明

属性

亮度系数(Luminance Factors)

指定每个通道对去饱和颜色的影响量。此属性用于控制,在去饱和之后,绿色比红色亮,而红色比蓝色亮。

输入

小数(Fraction)

指定要应用于输入的去饱和量。此百分比的范围为0.0(完全原始颜色,不去饱和)到1.0(完全去饱和)。

DesaturationExample.png

程序员需知:定义去饱和颜色 D、输入颜色 I 和亮度系数 L。输出将为 O = (1 - 百分比)<em>( D.dot( I )) + 百分比 </em> I

Tags
Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback