mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-20 04:15:58 +08:00
Update README.md
- Documentation added for SwirlUV node.
This commit is contained in:
21
README.md
21
README.md
@ -348,6 +348,25 @@ Applies a spherical warping effect similar to a fisheye camera lens to the value
|
|||||||
|strength|float|none|Strength of the effect|
|
|strength|float|none|Strength of the effect|
|
||||||
|offset|vec2|none|Individual channel offsets|
|
|offset|vec2|none|Individual channel offsets|
|
||||||
|
|
||||||
|
**Outputs**
|
||||||
|
|Name|Type|Binding|Description|
|
||||||
|
|---|---|---|---|
|
||||||
|
|uv|vec2|None|Output UV value|
|
||||||
|
___
|
||||||
|
</details>
|
||||||
|
<details>
|
||||||
|
<summary><h3>Swirl node</h3></summary>
|
||||||
|
Applies a Swirl warping effect similar to a black hole to the value of input UV. Very similar to <b><i>Twirl node</b></i>, key difference is it uses the inverse of vector length (One minus).
|
||||||
|
<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**
|
**Outputs**
|
||||||
|Name|Type|Binding|Description|
|
|Name|Type|Binding|Description|
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
@ -374,7 +393,7 @@ ___
|
|||||||
</details>
|
</details>
|
||||||
<details>
|
<details>
|
||||||
<summary><h3>Twirl node</h3></summary>
|
<summary><h3>Twirl node</h3></summary>
|
||||||
Applies a twirl warping effect similar to a black hole to the value of input UV.
|
Applies a twirl warping effect similar to a black hole to the value of input UV. Very similar to <b><i>Swirl node</b></i>, key difference is it uses the length of a vector.
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
**Inputs**
|
**Inputs**
|
||||||
|
Reference in New Issue
Block a user