📋 Metadata

💬 Content

blndrusr:

What would be command to replace environment texture in the world shader?

Try this code:

C.world.node_tree.nodes["Environment Texture"].image = D.images["Texture"]

blndrusr:

is it possible to change rotation of a texture via Mapping Node with modal operator?

Yes, use this path for Property modal slot:

C.world.node_tree.nodes["Mapping"].inputs[2].default_value[0]

❤️ 3 likes


🔗 View on Blender Artists