Hallo,
I have a challenge working with layered texture maps in DAZ Script.
Creating layers/masks and adding them to the diffuse map (pbrSkin MDL, Genesis 9) works fine, but I just can't find a way to read out existing layers so that I can edit them.
The assignment only seems to work via a Dz material. To read it, just getAllMaps(), which then only outputs the name of the resulting map, but not the individual layers and masks. In addition, the name of the resulting map is not always unique and can change.
Further I can only find the function setColorMap(DzTexture Image) to set the ready map it, and this one only take the Base (Diffuse) Map.
Could it be that I have a mistake in thinking here? The creation of the LayeredTexture is done via DzImageMgr, maybe you have to go through it somehow?
I used the samples as a guide, but they no longer help me for this purpose.
I hope I was able to describe it clearly. Does anyone have an idea or a tip on how I could proceed?