Help with accessing shader settings...

gumSaxgumSax 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

  • Richard HaseltineRichard Haseltine Posts: 100,939
    edited December 1969

    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.

  • gumSaxgumSax Posts: 2
    edited December 1969

    Thanks a lot, i'll check those docs.

Sign In or Register to comment.