material.Default

material.Default(
    roughness=0.264,
    ao_distance=0.5,
    ao_exponent=1.0,
    *,
    name=None,
)

The default MolecularNodes material.

A principled BSDF with the atom colors darkened by a small amount of ambient occlusion, so crevices between atoms read clearly.

Parameters

Name Type Description Default
roughness float Roughness of the surface. 0.264
ao_distance float Distance (in world units) that the ambient occlusion samples. 0.5
ao_exponent float Exponent applied to the occlusion factor; higher values darken crevices more aggressively. 1.0
name str Name for the created material datablock. Defaults to "Default". None

Attributes

Name Description
material The underlying Blender material datablock.
tree The nodebpy tree builder for the material’s node tree.

Methods

Name Description
node Add a Material node to the active GeometryNodeTree and set it to this material.

node

material.Default.node()

Add a Material node to the active GeometryNodeTree and set it to this material.