Узел «Текстура градиента»

Примечание

This node is ported from shader nodes. The manual and images are referencing the shader version of the node. This node accepts field inputs and outputs. When not connected the Vector input has an implicit position attribute value.

../../../_images/render_shader-nodes_textures_gradient_node.png

Узел «Gradient Texture».

The Gradient Texture node generates interpolated color and intensity values based on the input vector.

Входы

Вектор

Текстурные координаты, по которым выбирается текстура; по умолчанию, если вход не присоеденён ни к какому узлу, используются сгенерированные текстурные координаты.

Свойства

Type

Controls the type of gradient generated.

Линейно

Directly outputs the input X coordinate.

Квадратично

Interpolates the input X coordinate quadratically.

Easing

Uses a combination of quadratic and linear interpolation to generate a smooth gradient from the input X coordinate.

Diagonal

Averages the input X and Y coordinates.

Spherical

Creates an inverse gradient using the length of the input vector; the maximum value is at (0, 0, 0).

Quadratic Sphere

The same as Spherical, except interpolated quadratically.

Radial

Outputs a value based on the angle of the input around the Z axis.

Выходы

Color

Выход цвета текстуры.

Factor

Выход интенсивности текстуры.

Примеры

../../../_images/render_shader-nodes_textures_gradient_example.jpg

Градиентная текстура использует координаты объекта.