User guide
127
Assignments created using {attr:yourParameter} are evaluated during material resolve. Therefore any material
using those parameters must be explicitly assigned to any relevant scene graph locations, rather than relying on
inheritance.
7. Add a RenderSettings node below the MaterialAssign node, and set the renderer to arnold.
8. Add a Gaffer below the RenderSettings node, set it to the arnold-c profile, and add a spot light.
9. Add a Render node below the Gaffer node.
10. Position the spotlight, and the camera.
11. Right-click on the Render node and select Preview Render.
At material resolve time Katana picks up the texture.ColMap parameter on each of the geometry locations, and
creates an instance of the assigned material for each, with the material’s filename parameter set to the value of
textures.ColMap.
NOTE: Because {attr:xxx} is evaluated during MaterialResolve you must apply the base material directly
to every object that needs it, rather than using material inheritance in the hierarchy.
17 HANDLING TEXTURES |