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:
@ -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|
|
||||
___
|
Reference in New Issue
Block a user