mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-20 20:35:57 +08:00
29 lines
820 B
Markdown
29 lines
820 B
Markdown
# 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|
|
|
|octaves|int|none|Octaves/Layers of noise, <b><i>octaves</i></b> input is clamped between 1 and 6.|
|
|
|
|
**Outputs**
|
|
|Name|Type|Binding|Description|
|
|
|---|---|---|---|
|
|
|output|float|None|Output noise value|
|
|
|
|
**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.|
|
|
___ |