.. _blender material: Creating and setting materials ============================== To create and set materials of Blender objects one can use: .. literalinclude:: ../../../../examples/blender/docs/material.py :lines: 1-8 One can set basic properties of the materials this way: .. literalinclude:: ../../../../examples/blender/docs/material.py :lines: 10-13 One can access all the inputs of the "Principled BSDF" node of the material using an input dictionary: .. literalinclude:: ../../../../examples/blender/docs/material.py :lines: 15-23 One can also set any existing material by refering to its name: .. literalinclude:: ../../../../examples/blender/docs/material.py :lines: 25