📋 Metadata
- Author: roaoao
- Date: 2020-01-08 20:43:13
- Type:
answer - Reply to: post_02947
- Replies (1): post_02953
💬 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