mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-19 11:56:01 +08:00
906 B
906 B
Noise Sine Wave node
Returns the sine of the value of input in. For variance, psuedo-random noise is added to the amplitude of the sine wave, within a range determined by input min max.
Controls
Options | Description |
---|---|
Vector1, Vector2, Vector3, Vector4 | Vector type to use for calculation |
Inputs
Name | Type | Binding | Description |
---|---|---|---|
in | Dynamic vector | none | Input value |
min max | vec2 | none | Minimum and Maximum values for noise intensity |
Outputs
Name | Type | Binding | Description |
---|---|---|---|
out | Dynamic vector | None | Output value |
ShaderInc location
res://addons/ShaderLib/Maths/Maths.gdshaderinc
Method signature
vec4 noise_sine_wave(vec4 input, vec2 min_max)
Parameters
Name | Type | Description |
---|---|---|
input | vec4 | Input vector |
min_max | vec2 | Minimum and Maximum values for noise intensity |