Graphics Programs Reference
In-Depth Information
2. Name the new shader (called red1)
ApanelStripe
. Open the Attribute Editor, click
the Map button ( ) next to Color, and choose File. In the Attribute Editor, click the
Folder icon next to the Image Name field. Navigate to your
Sourceimages
folder, and
select
ApanelStrip.tif
, as shown in Figure 7.84.
3. In the Hypershade, you may see that the Shader icon has turned somewhat transpar-
ent. Maya is automatically mapping the Transparency attribute of the shader as well
as the color. Double-click the shader to open its Attribute Editor, RMB+click Trans-
parency, and select Break Connection from the context window. Doing so sets the
shader to the same red you used earlier, but now it gives you a stripe along the side
A panel.
4. Assign the ApanelStripe shader to the A panel mesh, and press 6 for Texture Display
mode in the persp panel. See Figure 7.85. The stripe lines up well.
You may skip the image creation using Photoshop and use the
ApanelStripe.tif
image file
found in the
Sourceimages
folder of the RedWagon project on the CD instead.
Figure 7.84
Select the
ApanelStripe.tif
file.
Figure 7.85
The stripe