Multiple Materials

Relevant to Blender v2.31

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.

Consider the mushroom image shown in Figure 15. 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.

Figure 15. Mushroom Mesh

Figure 16. Mushroom with one material

1. Create a creamy stem material of your choice, and assign it to the entire mushroom. (Figure 16).

Figure 17. Mushroom with cap vertices selected

2. In a 3DWindow enter EditMode for the mushroom and select all the vertices belonging to the cap (Figure 17).

3. Go to the Link and Material Panel in the Mesh Edit Buttons (F9) and press New (Figure 18).

Figure 18. Adding a new material to the mesh

4. The mesh should now have two materials. The label should now read 2 Mat: 2 meaning that material number 2 out of 2 is active. The selected faces are assigned to this new material once you press the Assign button; the unselected faces keep any previous material assignment.

To see which faces belong to which material use the Select and Deselect buttons. Switch among materials with the Mat: NumButton. You can have up to 16 materials per mesh.

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 (F5) 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" (Figure 19).

Figure 19. Multiple user material

Click on the "2" and confirm the OK? Single user 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. (Figure 20).

Figure 20. Mushroom with two materials.

TipTextures
 

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.