mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-19 20:05:57 +08:00
Documentation overhaul
This commit is contained in:
17
documentation/Nodes/UV/Twirl.md
Normal file
17
documentation/Nodes/UV/Twirl.md
Normal file
@ -0,0 +1,17 @@
|
||||
# Twirl node
|
||||
Applies a twirl warping effect similar to a black hole to the value of input UV. Very similar to <b><i>[Swirl node](/documentation/Nodes/UV/Swirl.md)</b></i>, key difference is it uses the length of a vector.<br><br><i>Default value for uv input will be vec2(0, 0) for shader modes <i>PARTICLES</i>, <i>SKY</i> and <i>FOG</i> to avoid errors becouse UV variable is not available for these modes.</i>
|
||||
<hr>
|
||||
|
||||
**Inputs**
|
||||
|Name|Type|Binding|Description|
|
||||
|---|---|---|---|
|
||||
|uv|vec2|UV|Input UV value|
|
||||
|center|vec2|none|Center reference point|
|
||||
|strength|float|none|Strength of the effect|
|
||||
|offset|vec2|none|Individual channel offsets|
|
||||
|
||||
**Outputs**
|
||||
|Name|Type|Binding|Description|
|
||||
|---|---|---|---|
|
||||
|uv|vec2|None|Output UV value|
|
||||
___
|
Reference in New Issue
Block a user