1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-19 20:05:57 +08:00
Files
Godot-Shader-Lib/documentation/Nodes/Procedural/Noise/GradientNoise.md
2024-07-21 16:39:45 +05:30

27 lines
643 B
Markdown

# 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|
**ShaderInc location**
<br>`res://addons/ShaderLib/Procedural/Procedural.gdshaderinc`
**Method signature**
<br>`float gradient_noise(vec2 uv, float scale)`
**Parameters**
|Name|Type|Description|
|---|---|---|
|uv|vec2|Input UV value|
|scale|float|Noise scale|
___