mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-20 04:15:58 +08:00
UV nodes documentation updated
This commit is contained in:
@ -14,4 +14,18 @@ Applies a twirl warping effect similar to a black hole to the value of input UV.
|
||||
|Name|Type|Binding|Description|
|
||||
|---|---|---|---|
|
||||
|uv|vec2|None|Output UV value|
|
||||
|
||||
**ShaderInc location**
|
||||
<br>`res://addons/ShaderLib/UV/TwirlUV.gdshaderinc`
|
||||
|
||||
**Method signature**
|
||||
<br>`vec2 twirl_uv(vec2 uv, vec2 center, float strength, vec2 offset)`
|
||||
|
||||
**Parameters**
|
||||
|Name|Type|Description|
|
||||
|---|---|---|
|
||||
|uv|vec2|Input uv|
|
||||
|center|vec2|Center reference point|
|
||||
|strength|float|Strength of the effect|
|
||||
|offset|vec2|Individual channel offsets|
|
||||
___
|
Reference in New Issue
Block a user