mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-01-07 01:43:35 +08:00
Update README.md
Documentation of Rectangle node
This commit is contained in:
parent
c9599194f9
commit
170ea8536f
20
README.md
20
README.md
@ -88,7 +88,7 @@ ___
|
||||
<summary><h2>Shapes</h2></summary>
|
||||
<details>
|
||||
<summary><h3>Ellipse node</h3></summary>
|
||||
Generates an ellipse shape based on input UV at the size specified by inputs <b><i>width</i></b> and <b><i>height</i><b>. The generated shape can be offset or tiled by connecting a <b><i>TilingAndOffset</i></b> node. Note that in order to preserve the ability to offset the shape within the UV space the shape will not automatically repeat if tiled. To achieve a repeating dot effect first connect your <b><i>TilingAndOffset</i></b> output through a <b><i>Fraction</i></b> node.
|
||||
Generates an ellipse shape based on input UV at the size specified by inputs <b><i>width</i></b> and <b><i>height</i><b>. The generated shape can be offset or tiled by connecting a <b><i>TilingAndOffset</i></b> node. Note that in order to preserve the ability to offset the shape within the UV space the shape will not automatically repeat if tiled. To achieve a repeating dot effect first connect your <b><i>TilingAndOffset</i></b> output through a <b><i>Fract</i></b> node.
|
||||
<hr>
|
||||
|
||||
**Inputs**
|
||||
@ -104,6 +104,24 @@ Generates an ellipse shape based on input UV at the size specified by inputs <b>
|
||||
|output|float|None|Output ellipse value|
|
||||
___
|
||||
</details>
|
||||
<details>
|
||||
<summary><h3>Rectangle node</h3></summary>
|
||||
Generates a rectangle shape based on input UV at the size specified by inputs <b><i>width</i></b> and <b><i>height</i><b>. The generated shape can be offset or tiled by connecting a <b><i>TilingAndOffset</i></b> node. Note that in order to preserve the ability to offset the shape within the UV space the shape will not automatically repeat if tiled. To achieve a repeating rectangle effect first connect your <b><i>TilingAndOffset</i></b> output through a <b><i>Fract</i></b> node.
|
||||
<hr>
|
||||
|
||||
**Inputs**
|
||||
|Name|Type|Binding|Description|
|
||||
|---|---|---|---|
|
||||
|uv|vec2|UV|Input UV value|
|
||||
|width|float|none|Rectangle width|
|
||||
|height|float|none|Rectangle height|
|
||||
|
||||
**Outputs**
|
||||
|Name|Type|Binding|Description|
|
||||
|---|---|---|---|
|
||||
|output|float|None|Output rectangle value|
|
||||
___
|
||||
</details>
|
||||
</details>
|
||||
</details>
|
||||
<details>
|
||||
|
Loading…
x
Reference in New Issue
Block a user