Constant category - Stingray Shader Node Reference

Constant category

Description

The nodes in this category allow you to define constant float and vector values that you can use as inputs to other nodes.

Nodes

Inputs

scalar

A

Outputs

Out

auto

The output value or values produced by this node.

This node can be useful if you need to re-use the same value in multiple places within your graph. You can set the value in one place, in a constant node, and wire the constant node to each other node that needs its value.

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

Inputs

vector2

XY

Outputs

Out

auto

The output value or values produced by this node.

This node can be useful if you need to re-use the same value in multiple places within your graph. You can set the value in one place, in a constant node, and wire the constant node to each other node that needs its value.

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

Inputs

vector3

XYZ

Outputs

Out

auto

The output value or values produced by this node.

This node can be useful if you need to re-use the same value in multiple places within your graph. You can set the value in one place, in a constant node, and wire the constant node to each other node that needs its value.

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

Inputs

vector4

XYZW

Outputs

Out

auto

The output value or values produced by this node.

This node can be useful if you need to re-use the same value in multiple places within your graph. You can set the value in one place, in a constant node, and wire the constant node to each other node that needs its value.

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