Work with hardware shaders
 
 
 

Technique

Often, shaders have more than one mode; for example, they may have modes to support two different video card models. You can adjust the technique in the Attribute Editor.

Shader parameters and shader mesh data

There are two types of extra attributes on CgFX, HLSL, or ASHLI materials.

In order to use the shader mesh data properly, you must know which of the arrays the shader is expecting what data in.

NoteAs of Maya 2009, the ASHLI plug-in is now available as part of the Maya Bonus Tools. Bonus Tools is a free collection of useful Maya scripts and plug-ins that are available from the Autodesk Web site (www.autodesk.com/maya-bonustools).