blenderproc.python.material.Dust module¶
-
blenderproc.python.material.Dust.
add_dust
(material, strength, texture_nodes=None, texture_scale=0.1)[source]¶ Adds a dust film to the material, where the strength determines how much dust is used.
This will be added right before the output of the material.
Parameters: - material (
Material
) – Used material - strength (
float
) – This determines the strength of the dust, 0 means no dust 1.0 means full dust. Values above 1.0 are possible, but create a thick film out of dust, which hides the material completely. - texture_nodes (
Optional
[List
[Texture
]]) – If a specific dust texture should be used, this can be specified. If this is empty a random noise texture is generated. - texture_scale (
float
) – This scale is used to scale down the used noise texture (even for the case where a random noise texture is used).
- material (