Hash functions

Hash node: icon {width="200px"}

In: Functions > Random

Description

Computes a pseudo-random value between 0 and 1, based on an input value used as a seed.

The number in the title shows the type of value in and value out. E.g.: Hash 23 takes a float2 value as input and outputs a float3 value.

When a Hash node outputs a value of multiple components, each component has a different pseudo-random value.

Available versions, with their input type and output type:

Hash 11: Float → Float

Hash 14: Float → Float4

Hash 21: Float2 → Float

Hash 22: Float2 → Float2

Hash 24: Float2 → Float4

Hash31: Float3 → Float

Hash 32: Float3 → Float2

Input connectors

Input
The value used as a seed to compute the pseudo-random output.

Examples

Hash 14 example {modal="regular"}
Hash 32 example {modal="regular"}
recommendation-more-help
dd48abc6-e399-43d2-9777-578ec70c5a23