Hey guys, I'm writing an blender python exporter and want to be able to export supported cycles material configurations.
Starting simple - diffuse with an image texture input:
diffuse_BSDF = mtl.node_tree.nodes['Diffuse BSDF'] if diffuse_BSDF != None: input = diffuse_BSDF.inputs
... then not sure how to access the image texture from input which is a NodeSocketColor.
Thanks in advance for any assistance you can offer.