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

@ -15,4 +15,18 @@ This node can be used to create a texture animation functionality, commonly used
|Name|Type|Binding|Description|
|---|---|---|---|
|uv|vec2|None|Output UV value|
**ShaderInc location**
<br>`res://addons/ShaderLib/UV/FlipbookUV.gdshaderinc`
**Method signature**
<br>`vec2 flipbook_uv(vec2 uv, int rows, int columns, float anim_speed)`
**Parameters**
|Name|Type|Description|
|---|---|---|
|uv|vec2|Input UV value|
|rows|int|Amount of horizontal tiles in texture sheet|
|columns|int|Amount of vertical tiles in texture sheet|
|anim speed|float|Animation speed|
___