Hey y’all,
Does anyone know how to program a simple script that would replace multiple values in blender with one? For example the code would replace individual variables for a glossy node’s roughness with one value in the script. And if you have a solution, try to explain it in the easiest possible terms, I’m not a coder at all. Thanks in advance!
Hi,
Would a way of linking values across multiple materials in a ‘change one will change them all’ way (e.g. change the glossy roughness in one material changes all linked roughness’s) suit your needs or are you after a script that goes through all materials and changes some values in some nodes?
Is there a way of linking multiple values across the entire software?
Materials share Node-Groups, they are not unique to each material.
If you put an Input->Value node inside a group then that Input->Value will be shared with any material that uses the group. Just connect the output of the group to the node inputs (e.g. glossy roughness) that you want to link together.
If you need step by step instructions let me know,
Al.