material-maker/material_maker/doc/node_miscellaneous_buffer.rst

37 lines
854 B
ReStructuredText
Raw Normal View History

2019-11-21 08:55:13 +01:00
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
2019-11-21 08:55:13 +01:00
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
2019-11-21 08:55:13 +01:00
already include buffers where necessary.
.. image:: images/node_miscellaneous_buffer.png
2019-11-21 08:55:13 +01:00
:align: center
Inputs
++++++
The **Buffer** node has an input that will be stored into its buffer image.
2019-11-21 08:55:13 +01:00
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