2024-02-26 22:13:45 +05:30
|
|
|
# Simple Noise node
|
|
|
|
Generates a simplex, or value noise based on input UV. The resulting <b><i>output</i></b> values will be between 0 and 1.
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
**Inputs**
|
|
|
|
|Name|Type|Binding|Description|
|
|
|
|
|---|---|---|---|
|
|
|
|
|uv|vec2|UV|Input UV value|
|
|
|
|
|scale|float|none|Noise scale|
|
2024-03-19 18:22:06 +05:30
|
|
|
|octaves|int|none|Octaves/Layers of noise, <b><i>octaves</i></b> input is clamped between 1 and 6.|
|
2024-02-26 22:13:45 +05:30
|
|
|
|
|
|
|
**Outputs**
|
|
|
|
|Name|Type|Binding|Description|
|
|
|
|
|---|---|---|---|
|
|
|
|
|output|float|None|Output noise value|
|
2024-04-15 22:50:04 +05:30
|
|
|
|
|
|
|
**ShaderInc location**
|
|
|
|
<br>`res://addons/ShaderLib/Procedural/Noise/SimpleNoise.gdshaderinc`
|
|
|
|
|
|
|
|
**Method signature**
|
|
|
|
<br>`float simple_noise(vec2 uv, float scale, int octaves)`
|
|
|
|
|
|
|
|
**Parameters**
|
|
|
|
|Name|Type|Description|
|
|
|
|
|---|---|---|
|
|
|
|
|uv|vec2|Input UV value|
|
|
|
|
|scale|float|Noise scale|
|
|
|
|
|octaves|int|Octaves/Layers of noise, clamped between 1 and 6.|
|
2024-02-26 22:13:45 +05:30
|
|
|
___
|