material-maker/material_maker/doc/node_miscellaneous_buffer.rst

37 lines
854 B
ReStructuredText

Buffer node
~~~~~~~~~~~
The **Buffer** node samples its input into a texture of a given resolution and
outputs the result.
Buffers can be used either as inputs of complex nodes (to limit the combined
shader's complexity), or to create a cheap blur/pixelization effect (by using the
LOD output). Note that many complex transforms that are provided in the nodes library
already include buffers where necessary.
.. image:: images/node_miscellaneous_buffer.png
:align: center
Inputs
++++++
The **Buffer** node has an input that will be stored into its buffer image.
Outputs
+++++++
The **Buffer** node has 2 outputs:
* the first output provides the image
* the second output generates a given mipmap of the image
Parameters
++++++++++
The **Buffer** node has two parameters:
* the *texture resolution*
* the *mipmap level* of its second output