mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-01-07 01:43:35 +08:00
Update README.md
Documentation for Voronoi node
This commit is contained in:
parent
c03d81fcfd
commit
e36ac78761
18
README.md
18
README.md
@ -7,6 +7,24 @@ Copy the contents of **_addons/ShaderLib_** into the same folder in your project
|
||||
## Uninstallation
|
||||
Delete the contents of **_addons/ShaderLib_** folder from your project. Make sure to delete it using the Godot editor instead of your default file system program.
|
||||
## Nodes documentation
|
||||
### Procedural nodes
|
||||
___
|
||||
#### Voronoi node
|
||||
Generates a Voronoi or Worley noise based on input UV. Voronoi noise is generated by calculating distances between a pixel and a lattice of points. By offsetting these points by a pseudo-random number, controlled by **_angle offset_**, a cluster of cells can be generated.
|
||||
|
||||
**Inputs**
|
||||
|Name|Type|Binding|Description|
|
||||
|---|---|---|---|
|
||||
|uv|vec2|UV|Input UV value|
|
||||
|cell density|float|none|Density of generated cells|
|
||||
|angle offset|float|none|Offset values for points|
|
||||
|
||||
**Outputs**
|
||||
|Name|Type|Binding|Description|
|
||||
|---|---|---|---|
|
||||
|output|float|None|Output noise value|
|
||||
|cells|float|None|Raw cell data|
|
||||
___
|
||||
### UV nodes
|
||||
___
|
||||
#### Flipbook node
|
||||
|
Loading…
x
Reference in New Issue
Block a user