As of Arnold 4.2.12.2, the <attr:> token now works with the Ai Image shader as well as the Maya 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