Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

How to load a texture file into the base color shader of a node (Iray) (SOLVED)

$
0
0

I have one geometry which is splited into a great number of textured elements. Instead of loading one by one the textures of these elements, I write a little script which can do it automatically, based on a text description. I'm able to choose and retreive the node and/up to the material to work with but when I search the property of the material using the material.findProperty("Base Color"), it doesn't give any property.value and I'm not able to use the property.set value or Mat instruction.

 

Is there a simple way to load a texture file name into the "Base color" or any other property of that Iray shader?


Viewing all articles
Browse latest Browse all 1036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>