Create Maya shaders that react to key frames

Posted by on May 16, 2010 in code, how to, Maya, MEL, rendering | No Comments

This MEL script was written specifically to automatically generate shaders for the equalizer in the animation below.

The script is set up to generate and assign shaders and attach the .translateY attribute of selected objects to the incandescence of the newly generated shader. Also creates a network that cycles the colors a bit at the same time.

Here is a snapshot of the network:

Get the script.

Email this to someoneTweet about this on TwitterShare on FacebookShare on Google+Share on LinkedInShare on StumbleUponShare on RedditDigg this

Leave a Reply