Message 1 of 7
How to access custom material attribute from a mesh?

Not applicable
08-29-2019
09:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am programming a ray tracing for Maya for learning purposes and I am creating custom material to use with the ray tracing. But when I try to access it with the connectedShaders() function of MFnMesh, I can only retrieve the outColor.
Do you have any idea how to access every attribute of a material node?