Hi,
I'm currently writing a script in which I create a bunch of "Image File Texture"-nodes and plug them into the Standard Material. Everything works without any issues, except I don't know how to assign a loaded texture to the "Image File Texture"-node.
In Cycles it's pretty easy: I just get a reference to the Texture node and then assign it to the image property
textureNode.image = bpy.data.images.load("pathToImage")
but I don't know which property I have to assign it to in V-ray.
Any help would be appreciated.
I'm currently writing a script in which I create a bunch of "Image File Texture"-nodes and plug them into the Standard Material. Everything works without any issues, except I don't know how to assign a loaded texture to the "Image File Texture"-node.
In Cycles it's pretty easy: I just get a reference to the Texture node and then assign it to the image property
textureNode.image = bpy.data.images.load("pathToImage")
but I don't know which property I have to assign it to in V-ray.
Any help would be appreciated.
Comment