1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-20 12:25:59 +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 spherical warping effect similar to a fisheye camera lens to the value
|Name|Type|Binding|Description|
|---|---|---|---|
|uv|vec2|None|Output UV value|
**ShaderInc location**
<br>`res://addons/ShaderLib/UV/SpherizeUV.gdshaderinc`
**Method signature**
<br>`vec2 spherize_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|
___