diff --git a/material_maker/doc/images/node_fill_to_gradient_samples.png b/material_maker/doc/images/node_fill_to_gradient_samples.png new file mode 100644 index 00000000..d5ab2d23 Binary files /dev/null and b/material_maker/doc/images/node_fill_to_gradient_samples.png differ diff --git a/material_maker/doc/images/node_filter_fill_to_gradient.png b/material_maker/doc/images/node_filter_fill_to_gradient.png new file mode 100644 index 00000000..00c22bb6 Binary files /dev/null and b/material_maker/doc/images/node_filter_fill_to_gradient.png differ diff --git a/material_maker/doc/node_filter_fill_to_gradient.rst b/material_maker/doc/node_filter_fill_to_gradient.rst new file mode 100644 index 00000000..c989b615 --- /dev/null +++ b/material_maker/doc/node_filter_fill_to_gradient.rst @@ -0,0 +1,42 @@ +Fill to Gradient node +~~~~~~~~~~~~~~~~~~~~~ + +The **Fill to Gradient** node uses the output of the **Fill** node and fills +all detected areas with one or multiple layers of gradients. + +.. image:: images/node_filter_fill_to_gradient.png + :align: center + +Inputs +++++++ + +The **Fill to Gradient** node accepts the output of a **Fill** node (or a +compatible output of another node) as input. + +Outputs ++++++++ + +The **Fill to Gradient** node outputs the generated gradient. + +Parameters +++++++++++ + +The **Fill to Gradient** node accepts the following parameters: + +* The *Gradient* + +* The *Mode* defines how the gradient is spread out on each area (strectch or square). + +* *Layers* defines how many layers of the gradient will be applied to each fill area, blended with the min function (darken). + +* *Rotate* defines the base rotation of the gradient. + +* *Random Rotation* defines how much the rotation should be randomized for each gradient. + +* *Random Offset* defines how much each gradient get's randomly offset. + +Example images +++++++++++++++ + +.. image:: images/node_fill_to_gradient_samples.png + :align: center diff --git a/material_maker/doc/nodes_filter.rst b/material_maker/doc/nodes_filter.rst index 4c21afff..7c37d2be 100644 --- a/material_maker/doc/nodes_filter.rst +++ b/material_maker/doc/nodes_filter.rst @@ -44,6 +44,7 @@ The filter nodes accept one or several inputs and generate one or several images node_filter_fill_to_random_color node_filter_fill_to_uv node_filter_fill_to_orientation + node_filter_fill_to_gradient node_filter_math node_filter_smooth_minmax node_filter_maketileable