Created
February 27, 2022 09:12
-
-
Save Begalov/67b1e1f93b21cd2c4da1a1ab686ecf50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
for m in (m for m in bpy.data.materials if m.node_tree != None): | |
ps = m.node_tree.nodes['Material Output'].inputs['Surface'].links[0].from_node | |
ps.inputs[7].default_value = 0. | |
ps.inputs[9].default_value = 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment