Help with accessing shader settings...
gumSax
Posts: 2
Hi, i'm trying to integrate DS into our pipe and for that i need to write out shader settings into an external text file that will be read by our rendering tools. If the shader is the default DAZ one (ie DzDefaultMaterial) this is easy as I can just read the settings using the get functions. But how do I handle (what i assume are) custom shaders ? eg Genesis 2 comes with a shader called 'AoA_Subsurface' on many parts of her skin, how do I work with this ? Any help, docs etc would be most welcome !
-thanks
Comments
Use the DzElement methods findProperty( name ) , findPropertyByLabel( label ) (both of which return a property or getPropertyList() (which returns an array of properties). It's worth looking at the docs for DS 3 scripting, which are available on the DAZ Studio 3 pages in the documentation centre.
Thanks a lot, i'll check those docs.