Gradient Texture Node

Nota

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.

Gradient Texture Node.

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

Inputs

Vector

Coordenada de textura para amostrar a textura em; padrão para coordenadas de textura Geradas se o soquete é deixado desconectado.

Properties

Tipo

Controls the type of gradient generated.

Linear:

Directly outputs the input X coordinate.

Quadrático(a):

Interpolates the input X coordinate quadratically.

Facilitação:

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.

Saídas

Color

Saída de cor da textura.

Fator

Texture intensity output.

Examples

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

Gradient texture using object coordinates.