Map a 2D or 3D texture
 
 
 

When you map a 2D or 3D texture to an object, you connect it to an attribute of the object’s material. Textures map to geometry based on the object’s UV texture coordinates. For more information about texture mapping, see Texture mapping.

Unless you use a method that explicitly connects a texture to a specific attribute of the object’s material, it connects to the material’s default attribute (usually color or transparency). For more information on node connections, see Render node connections.

NoteIf you are working in Mac OS X, 2D textures must be used as projections when they are placed on volumetric objects.

To map a texture using Hypershade

  1. In the Create bar, make sure the Create Maya Nodes tab is shown.
  2. Scroll to 2D Textures or 3D Textures.
  3. For a 2D texture, select a mapping method (Normal, As projection or As stencil).

    For information about mapping methods, see Mapping methods.

  4. Do one of the following:

    The texture is placed on the object in a default position, and a placement node appears in the Hypershade. For more information on placement nodes, see Place 2d Texture.

    NoteWhen you middle-drag-drop a file texture on to a material and select Default in the pop-up menu, this automatically connects the file.outColor to the material.color and, if the image file has an alpha channel, connects the file.outTransparency to the material.transparency.

    In versions previous to Maya 4.5, this connected the file.outColor to material.transparency. If you prefer the old behavior, you can disable the automatic connection of file.outTransparency to material.transparency in the situations described above. To do so, set the environment variable:

    MAYA_DISABLE_OUTTRANSPARENCY_CONNECT