mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2026-10-10 04:43:04 +08:00
941 B
941 B
Gyroid Noise node
Generates a gyroid noise based on input UV. The resulting output values will be between 0 and 1.
Inputs
| Name | Type | Binding | Description |
|---|---|---|---|
| uv | vec2 | UV | Input UV value |
| scale | float | none | Noise scale |
| ratio | vec2 | none | Noise ratio for X and Y Axes |
| height | float | none | Noise height |
| thickness | float | none | Noise thickness, clamped between 0 and 1 |
Outputs
| Name | Type | Binding | Description |
|---|---|---|---|
| output | float | None | Output noise value |
ShaderInc location
res://addons/ShaderLib/Procedural/Procedural.gdshaderinc
Method signature
float gyroid_noise(vec2 uv, float scale, vec2 ratio, float height, float thickness)
Parameters
| Name | Type | Description |
|---|---|---|
| uv | vec2 | Input UV value |
| scale | float | Noise scale |
| ratio | vec2 | Noise ratio for X and Y axes |
| height | float | Noise height |
| thickness | float | Noise thickness, clamped between 0 and 1 |