1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-20 12:25:59 +08:00

Procedural nodes documentation updated

This commit is contained in:
Digvijaysinh Gohil
2024-04-15 22:50:04 +05:30
parent 8a036a2abf
commit 2dadda73fc
11 changed files with 156 additions and 0 deletions

View File

@ -13,4 +13,17 @@ Generates a rectangle shape based on input UV at the size specified by inputs <b
|Name|Type|Binding|Description|
|---|---|---|---|
|output|float|None|Output rectangle value|
**ShaderInc location**
<br>`res://addons/ShaderLib/Procedural/Shapes/Rectangle.gdshaderinc`
**Method signature**
<br>`float rectangle_shape(vec2 uv, float width, float height)`
**Parameters**
|Name|Type|Description|
|---|---|---|
|uv|vec2|Input UV value|
|width|float|Rectangle width|
|height|float|Rectangle height|
___