So i've created a file texture node:
cmds.shadingNode('file', name='depthMap', asTexture=True)
How would I now add an image path to the file, so it knows what image to use for the texture?
So i've created a file texture node:
cmds.shadingNode('file', name='depthMap', asTexture=True)
How would I now add an image path to the file, so it knows what image to use for the texture?
fileNode = cmds.shadingNode('file', name='depthMap', asTexture=True)
cmds.setAttr(fileNode+".fileTextureName",'path', type='string')