material-maker/material_maker/doc/node_transform_splatter.rst

43 lines
1.2 KiB
ReStructuredText

Splatter node
~~~~~~~~~~~~~
The **Splatter** node splats several instances of its input with optional scale and rotation variations.
Overlapping instances are mixed with each other using a *lighten* filter.
The **Splatter** also has a color version whose input is in RGBA format.
.. image:: images/node_transform_splatter.png
:align: center
Inputs
++++++
The **Splatter** node accepts two inputs:
* The *Source* inputs is the image to be splat into the output.
* The *Mask* input is a greyscale image that is used as a mask and affects each instance's value.
Outputs
+++++++
The **Splatter** node outputs the splat image.
Parameters
++++++++++
The **Splatter** node accepts the following parameters:
* *Count*, the number of instances of the source image in the result, including those canceled by the mask.
* *Inputs* is the number of alternate shapes in the input (1, 4 or 16). Images containing several
shapes can easily be created using the **Tile2x2** node.
* *Rotate* is the maximum angle of the random rotation applied to each instance.
* *Scale* is the amount of scaling applied to each instance.
Example images
++++++++++++++
.. image:: images/node_transform_splatter_samples.png
:align: center