Version: 2022.2

GradientMode.PerceptualBlend

切换到手册

描述

Linearly interpolate between the gradient keys, using a perceptual color space for colors.

This mode finds the two keys adjacent to the requested evaluation time, and interpolates between them.

Color keys are interpolated using a perceptual "Oklab" color space, which often produces more visually pleasing results than a simple GradientMode.Blend interpolation. It is slightly more expensive to calculate than the simple blend mode though.

See Also: Gradient.mode, Gradient.Evaluate, Gradient.colorSpace.