<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML ><HEAD ><TITLE >Multiple Materials</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="HOME" TITLE="Blender Documentation Volume I - User Guide" HREF="book1.html"><LINK REL="UP" TITLE="Materials and textures" HREF="c3943.html"><LINK REL="PREVIOUS" TITLE="Textures" HREF="x4167.html"><LINK REL="NEXT" TITLE="Special Materials" HREF="x4496.html"></HEAD ><BODY CLASS="section" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Blender Documentation Volume I - User Guide: Last modified April 29 2004 S68</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="x4167.html" ACCESSKEY="P" ><<< Previous</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Materials and textures</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x4496.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="section_material_multimaterial" ></A >Multiple Materials</H1 ><P > Most objects are assembled so that they can be modelled in parts, with each part composed of a different material. But on some occasions it may be useful to have an object modelled as a single Mesh, yet exhibiting different materials. </P ><P > Consider the mushroom image shown in <A HREF="x4436.html#BSG.MAT.F.S68.601" >Figure 35</A >. This object is a single mesh to which we need to assign two materials: one for the stem and one for the cap. Here's how to do it. </P ><DIV CLASS="figure" ><A NAME="BSG.MAT.F.S68.601" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartM/materials/gfx/MultiMat01.png"></P ></DIV ><P ><B >Figure 35. Mushroom Mesh</B ></P ></DIV ><DIV CLASS="figure" ><A NAME="BSG.MAT.F.S68.602" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartM/materials/gfx/MultiMat02.png"></P ></DIV ><P ><B >Figure 36. Mushroom with one material</B ></P ></DIV ><P > 1. Create a creamy stem material of your choice, and assign it to the entire mushroom. (<A HREF="x4436.html#BSG.MAT.F.S68.602" >Figure 36</A >). </P ><DIV CLASS="figure" ><A NAME="BSG.MAT.F.S68.603" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartM/materials/gfx/MultiMat03.png"></P ></DIV ><P ><B >Figure 37. Mushroom with cap vertices selected </B ></P ></DIV ><P > 2. In a 3DWindow enter EditMode for the mushroom and select all the vertices belonging to the cap (<A HREF="x4436.html#BSG.MAT.F.S68.603" >Figure 37</A >). </P ><P > 3. Go to the <TT CLASS="literal" >Link and Material</TT > Panel in the Mesh Edit Buttons (<B CLASS="keycap" >F9</B >) and press <TT CLASS="literal" >New</TT > (<A HREF="x4436.html#BSG.MAT.F.S68.604" >Figure 38</A >). </P ><DIV CLASS="figure" ><A NAME="BSG.MAT.F.S68.604" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartM/materials/gfx/MultiMat04.png"></P ></DIV ><P ><B >Figure 38. Adding a new material to the mesh</B ></P ></DIV ><P > 4. The mesh should now have two materials. The label should now read <TT CLASS="literal" >2 Mat: 2</TT > meaning that material number 2 out of 2 is active. The selected faces are assigned to this new material once you press the <TT CLASS="literal" >Assign</TT > button; the unselected faces keep any previous material assignment. </P ><P > To see which faces belong to which material use the <TT CLASS="literal" >Select</TT > and <TT CLASS="literal" >Deselect</TT > buttons. Switch among materials with the <TT CLASS="literal" >Mat:</TT > NumButton. You can have up to 16 materials per mesh. </P ><P > 5. At any rate, both mesh materials are instances of the same material! So, keeping the material you want to change active, switch to the Material Buttons (<B CLASS="keycap" >F5</B >) where you will find a similar "2 Mat 2" button. The material now has two users, as indicated by the blue color in the name of the material, and the number button showing "2" (<A HREF="x4436.html#BSG.MAT.F.S68.605" >Figure 39</A >). </P ><DIV CLASS="figure" ><A NAME="BSG.MAT.F.S68.605" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartM/materials/gfx/MultiMat05.png"></P ></DIV ><P ><B >Figure 39. Multiple user material</B ></P ></DIV ><P > Click on the "2" and confirm the <TT CLASS="literal" >OK? Single user</TT > question. You have now duplicated the material. The original material is still called "Stem" and the duplicate is "Stem.001". Rename the duplicate to "Cap". You can now edit the material as needed to obtain a nice looking cap. (<A HREF="x4436.html#BSG.MAT.F.S68.606" >Figure 40</A >). </P ><DIV CLASS="figure" ><A NAME="BSG.MAT.F.S68.606" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartM/materials/gfx/MultiMat06.png"></P ></DIV ><P ><B >Figure 40. Mushroom with two materials.</B ></P ></DIV ><DIV CLASS="tip" ><P ></P ><TABLE CLASS="tip" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="./stylesheet-images/tip.gif" HSPACE="5" ALT="Tip"></TD ><TH ALIGN="LEFT" VALIGN="CENTER" ><B >Textures</B ></TH ></TR ><TR ><TD > </TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P > If your material uses textures they remain linked even after you make the material single-user. To unlink textures, so that you can edit the two material textures separately, go to the TextureButtons for that material, and make the texture single-user as well. </P ></TD ></TR ></TABLE ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="x4167.html" ACCESSKEY="P" ><<< Previous</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="book1.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x4496.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Textures</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="c3943.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Special Materials</TD ></TR ></TABLE ></DIV ></BODY ></HTML >