mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-19 03:55:59 +08:00
17 lines
635 B
Markdown
17 lines
635 B
Markdown
![]() |
# 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 <b><i>angle offset</i></b>, a cluster of cells can be generated.
|
||
|
<hr>
|
||
|
|
||
|
**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|
|
||
|
___
|