material-maker/addons/material_maker/doc/node_miscellaneous_material.rst

55 lines
2.0 KiB
ReStructuredText
Raw Normal View History

Material node
~~~~~~~~~~~~~
2019-11-21 08:55:13 +01:00
The **Material** node defines a material using its inputs.
There is one and only one Material node for each Material Maker project,
it is created for each new project and cannot be deleted or duplicated.
When copied and pasted together with other nodes, the Material node will
not be pasted, but connections will be copied if possible.
When exporting a project to PNG files, all inputs are generated as PNG
2019-11-10 17:41:02 +01:00
files whose names are generated using the project name and the name of the
corresponding property in the material. The ambient occlusion, roughness
and metallic textures are combined into a single file whose suffix is "orm".
2019-11-21 08:55:13 +01:00
When using Material Maker as a Godot addon, a SpatialMaterial is generated
automatically.
.. image:: images/node_material.png
2019-11-21 08:55:13 +01:00
:align: center
Inputs
++++++
2019-11-21 08:55:13 +01:00
The **Material** node has an input for each supported property (albedo, metallic,
roughness, emissive, normal, ambient occlusion, depth maps and subsurface scattering) of the material.
Outputs
+++++++
2019-11-21 08:55:13 +01:00
The **Material** node does not have any output.
Parameters
++++++++++
2019-11-21 08:55:13 +01:00
The **Material** node provides the following parameters:
* The size of the texture files to be generated.
* A color associated to the albedo property. The texture used for the albedo input is multiplied by this color.
* The value of the metallic property of the material. The texture used for the metallic input is multiplied by this value.
* The value of the roughness property of the material. The texture used for the roughness input is multiplied by this value.
* The energy of the emissive property of the material.
* The value of the normal map property of the material. It is used to strengthen or lighten the effect of the normal map.
* The value of the ambient occlusion property of the material. The texture used for the ambient occlusion input is multiplied by this value.
* The value of the depth property of the material. The input depth map is multiplied by this value.
2019-11-21 08:55:13 +01:00
* The strength of the subsurface scattering effect.