1
0
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:
Digvijaysinh Gohil
2024-04-15 23:04:10 +05:30
parent 0b22ea2ce1
commit 9f8087e91d
7 changed files with 102 additions and 1 deletions

View File

@ -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|
___