Construct category - Stingray Shader Node Reference
The nodes in this category construct new vectors from scalar component values that you connect.
|
Constructs a new vector2 output value from the component values passed in.
|
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
|
Constructs a new vector3 output value from the component values passed in.
|
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
|
Constructs a new vector4 output value from the component values passed in.
|
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