Hi, thanks for the great work, I'm wondering how to add lights from all directions.
|
def light_setting_init(): |
|
""" light settings for renderer |
|
""" |
|
# Make light just directional, disable shadows. |
|
world = bpy.data.worlds['World'] |
|
world.use_nodes = True |
|
|
|
# changing these values does affect the render. |
|
bg = world.node_tree.nodes['Background'] |
|
bg.inputs[1].default_value = 10.0 |