Menu
Lumberyard
Getting Started Guide (Version 1.10)

Creating Multimaterial

A multimaterial is a single material file that contains multiple materials. With multimaterial, you can map multiple materials onto a single object. Multimaterials are useful for prototyping the internal structure of a scene. For example, to build a neighborhood full of houses, you can build a box with a peaked roof and then cut faces on the side for windows and doors. With a multimaterial, you can create the siding, roof, window, and door textures and then assign the correct material ID to each component to represent a house.

In this tutorial, you'll turn the previously created sphere material into a multimaterial.

To create a multimaterial

  1. Open the Material Editor if it is not already open.

  2. Right-click the name of the sphere material that you previously created.

  3. Click Convert to Multi Material.

  4. Right-click on the sphere material and select Set Number of Sub-Materials.

  5. When prompted for the number of submaterials, type 3.  Click OK.

  6. Right-click each submaterial and rename them sphere_01, sphere_02, and sphere_03.

  7. Hold down Ctrl and select sphere_01, sphere_02, and sphere_03.  On the lower right, under Texture Maps, find Diffuse and click the folder.

  8. Navigate to Game\Textures\Terrain.  Open AMA_White_01.tif.

    All submaterials now have a diffuse texture map assigned to them.

    The material preview window shows the three submaterials on the right; the selected submaterial appears slightly larger on the left.

  9. Select submaterial sphere_01 and, under Lighting Settings, set the Diffuse color to 35,100,35.

  10. Select submaterial sphere_02 and set Diffuse color to 100,35,35.

  11. Select submaterial sphere_03 and set Diffuse color to 35,35,100.

  12. Under Material Settings, set Surface Type to rubber for all three submaterials.