Use the Bump 2d utility

The Bump 2d utility node converts a 2D texture to bump maps.

To create a bump2d utility node

  1. Do any of the following:

To bump map layered textures using Provide3d Info

  1. Map a 2D texture to a material’s Bump Mapping attribute.
  2. Map a 3D texture to one of the 2D texture’s Color attributes (such as V Color).
  3. Double-click the bump2d swatch in the Hypershade to open the bump2d’s Property Editor and turn Provide3d Info on (under the Effects heading).

    Maya bump maps both textures.

To cascade, or stack, bump maps

  1. In the Hypershade, create two 2D textures and a material - in this case, a Fractal, a Bulge, and an Anisotropic.
  2. Create a Bump2d utility node.
  3. Middle-drag the Fractal node over the Bump2d utility node and select Bump Value from the pop up menu that appears.
  4. Create another Bump2d node and middle-drag the Bulge node over the new Bump2d utility node. Select Bump Value from the pop up menu that appears.
  5. Select the first Bump2d node and click 3 to display the node in full mode.

    For more information regarding a node's view modes, see Change view modes in the Node Editor and Hypershade.

    The search field appears. In the search field, enter Normal. This functionality allows you to easily isolate the attributes that you want.

    Only the Normal Camera attribute appears in the list of attributes. Connect the Out Normal attribute of the second Bump2d node to the Normal Camera input attribute of the first Bump2d node.

  6. Middle-drag the first Bump2d node to the Bump/Normal Mapping attribute in the Anisotropic node Property Editor.
  7. Select the Anisotropic node and click in the work area toolbar to regraph your shader network.

    Solo the Anisotropic node by clicking its icon and see the shader render in the Material Viewer.

  8. Tip: If you bump-map a material that uses environment maps, connect the Out Normal attribute of the bump node to the Normal Camera attribute of the Environment texture, as well as to the Normal Camera attribute of the material. Otherwise, the environment does not reflect correctly in bumpy areas.

    Maya provides a MEL script that does this for you. After you connect the Out Color of the environment map to the Reflected Color of the material, type cnctBumpProjNormal shader-name in the command line (where shader-name is the name of the material).

To delete a bump2d map

  1. Open the material’s Attribute Editor.
  2. Right-click the word Bump Mapping.
  3. Select Break Connection from the pop-up menu.

Related topics