mutiny33
03-04-2008, 01:17 AM
Hello,
I was trying to add a feature to a custom node attribute through the maya api that is similar to the default shader.
For example if you create a lambert shader and a checkerboard texture seperately, you can automatically connect them by just typing checker1 in the Bump Mapping field in the lambert shader attribute editor. This also attribute also updates when the connection is made through the hypergraph and the connection editor.
I'm planning to have a custom node that uses a texture that you can replace through any maya interface.
Anyone know of the api function that does this?
Thanks,
Daniel
I was trying to add a feature to a custom node attribute through the maya api that is similar to the default shader.
For example if you create a lambert shader and a checkerboard texture seperately, you can automatically connect them by just typing checker1 in the Bump Mapping field in the lambert shader attribute editor. This also attribute also updates when the connection is made through the hypergraph and the connection editor.
I'm planning to have a custom node that uses a texture that you can replace through any maya interface.
Anyone know of the api function that does this?
Thanks,
Daniel
