VedaDalsette opened this issue on Jan 11, 2023 ยท 4 posts
adp001 posted Wed, 11 January 2023 at 1:34 PM
scene = poser.Scene()
for actor in [a for a in scene.Actors() if a.Name().startswith("Building")]: # type: poser.ActorType
for tree in [m.ShaderTree() for m in actor.Materials() if m.Name().startswith("Concret")]: # type: poser.ShaderTreeType
for node in [n for n in tree.Nodes() if n.Type() == poser.kNodeTypeCodeCLOUDS]: # type: poser.ShaderNodeType
node.InputByInternalName("Gain").SetFloat(0.75)
print("Done.")