mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-01-07 01:43:35 +08:00
Update README.md
- Documentation added for SwirlUV node.
This commit is contained in:
parent
273d07ae85
commit
e6e36ec6c6
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|
|
||||
|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**
|
||||
|Name|Type|Binding|Description|
|
||||
|---|---|---|---|
|
||||
@ -374,7 +393,7 @@ ___
|
||||
</details>
|
||||
<details>
|
||||
<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>
|
||||
|
||||
**Inputs**
|
||||
|
Loading…
x
Reference in New Issue
Block a user