1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-20 04:15:58 +08:00
Files
Godot-Shader-Lib/documentation/Nodes/Maths/Wave/NoiseSineWave.md

32 lines
906 B
Markdown
Raw Normal View History

2024-02-26 22:13:45 +05:30
# Noise Sine Wave node
Returns the sine of the value of input <b><i>in</i></b>. For variance, psuedo-random noise is added to the amplitude of the sine wave, within a range determined by input <b><i>min max</i></b>.
<hr>
2024-02-27 23:11:12 +05:30
**Controls**
|Options|Description|
|---|---|
|Vector1, Vector2, Vector3, Vector4|Vector type to use for calculation|
2024-02-26 22:13:45 +05:30
**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|
2024-04-15 22:29:35 +05:30
**ShaderInc location**
<br>`res://addons/ShaderLib/Maths/Maths.gdshaderinc`
2024-04-15 22:29:35 +05:30
**Method signature**
<br>`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|
2024-02-26 22:13:45 +05:30
___