Construct category - Stingray Shader Node Reference

Construct category

Description

The nodes in this category construct new vectors from scalar component values that you connect.

Nodes

Inputs

scalar

X

The first input component.

scalar

Y

The second input component.

Outputs

Out

vector2

A vector array that combines the scalar inputs as: (X, Y).

Use this node if you need to combine scalar input values into an array in order to pass the resulting vector as input for another shader node. You can use this node to construct two-dimensional vectors or UV coordinates.

Node definition in file: core/shader_nodes/construct_vector2.shader_node

Inputs

scalar

X

The first input component.

scalar

Y

The second input component.

scalar

Z

The third input component.

Outputs

Out

vector3

A vector array that combines the scalar inputs as: (X, Y, Z).

Use this node if you need to combine scalar input values into an array in order to pass the resulting vector as input for another shader node. You can use this node to construct 3-dimensional vectors or color values.

Node definition in file: core/shader_nodes/construct_vector3.shader_node

Inputs

scalar

X

The first input component.

scalar

Y

The second input component.

scalar

Z

The third input component.

scalar

W

The fourth input component.

Outputs

Out

vector4

A vector array that combines the scalar inputs as: (X, Y, Z, W).

Use this node if you need to combine scalar input values into an array in order to pass the resulting vector as input for another shader node.

Node definition in file: core/shader_nodes/construct_vector4.shader_node