The <attr:> token works with both the Ai Image shader and Mayas File shader.


For example, in the situation below we have two spheres, and we want to apply separate textures to each one using the same shader.

<attr:planet default:moon>.jpg

Where 'moon.jpg' is the name of the default texture.


<attr:> texture token

You should see that currently, both spheres receive the same texture map:


mtoa constant planet