2024-02-26 22:13:45 +05:30
|
|
|
# Gradient Noise node
|
|
|
|
Generates a gradient, or Perlin noise based on input UV. The resulting <b><i>output</i></b> values will be between -1 and 1.
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
**Inputs**
|
|
|
|
|Name|Type|Binding|Description|
|
|
|
|
|---|---|---|---|
|
|
|
|
|uv|vec2|UV|Input UV value|
|
|
|
|
|scale|float|none|Noise scale|
|
|
|
|
|
|
|
|
**Outputs**
|
|
|
|
|Name|Type|Binding|Description|
|
|
|
|
|---|---|---|---|
|
|
|
|
|output|float|None|Output noise value|
|
2024-04-15 22:50:04 +05:30
|
|
|
|
|
|
|
**ShaderInc location**
|
2024-07-21 16:39:45 +05:30
|
|
|
<br>`res://addons/ShaderLib/Procedural/Procedural.gdshaderinc`
|
2024-04-15 22:50:04 +05:30
|
|
|
|
|
|
|
**Method signature**
|
|
|
|
<br>`float gradient_noise(vec2 uv, float scale)`
|
|
|
|
|
|
|
|
**Parameters**
|
|
|
|
|Name|Type|Description|
|
|
|
|
|---|---|---|
|
|
|
|
|uv|vec2|Input UV value|
|
|
|
|
|scale|float|Noise scale|
|
2024-02-26 22:13:45 +05:30
|
|
|
___
|