https://github.com/doubleailes/guerilla-nodes
Collection of guerilla shaders and other utility nodes
https://github.com/doubleailes/guerilla-nodes
Last synced: 3 months ago
JSON representation
Collection of guerilla shaders and other utility nodes
- Host: GitHub
- URL: https://github.com/doubleailes/guerilla-nodes
- Owner: doubleailes
- Created: 2019-12-09T07:37:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2018-11-04T15:35:16.000Z (over 6 years ago)
- Last Synced: 2025-01-06T03:26:02.572Z (4 months ago)
- Size: 1.34 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# guerilla-nodes
Collection of shaders and other utility nodes for the rendering engine [Guerilla Render](http://guerillarender.com/)## Attributes
Nodes that can be used in Guerilla shaders.### Voronoï nodes
This section concern all the nodes that generates Voronoï diagrams.
#### Voronoi2D
##### Description
This node allows generates two-dimensional Voronoï diagram.##### Inputs
- Input (enum): specify which input coordinates to use.
When set to 'st', it will use first set of texture coordinates.
When set to to Coords it will use the input Coords value.
- Coords (point): coordinates to use when the input is set to 'Coords'.
- Scale (vector): Scales the input coordinates.
- Jitter (float): Multiplication factor of how much the cell position is
jittered for the original cell center.##### Outputs
- CellCoords (vector): returns the coordinates of the shading point relative to the cell center.
- CellPosition (point): returns the position of the cell center in which the shading point falls into.
- CellIndex (vector); returns the index of the cell in which the shading point falls into.

##### Notes
You can modify the `modifyPosition` function in the Voronoï SL Node if you need
more control on how the cell center is displaced from its original position.
By default, the function jitters the cell position by a random vector.### Random number generator nodes
#### Random
##### DescriptionThis node generates a uniformly distributed random value for the given input
vector.
Even if they look similar, Color and Vector mode does not return the same
output. Vector output is a normalized vector while Color is not. Make sure to
choose the correct mode.##### Inputs
- Mode: type of value to generate (Float, Vector or Color)
- v: input vector for which to generate the random value##### Output