Modify panel > Make a selection > Modifier List > Object-Space Modifiers > Array > Material ID rolloutThe Array modifier's Material ID rollout lets you control how material IDs are applied to the clones in the selected array. A Multi/Sub-object material must be assigned to your array, and sub-materials must be assigned to take advantage of the parameters in this rollout.

Lets you control how Material IDs are assigned to the clones in the selected array.
A Multi/Sub-object material is assigned to the array used in the following examples. Five sub-materials are assigned solid colours:

You can select the following methods:
Material IDs are assigned to clones randomly based on a selected orientation:

Material IDs are assigned to clones in sequential order based on a selected orientation:

The specified material IDs are assigned to the first and last clone and the remaining material ID assignments are random. The results change based on the selected orientation:
X: In the following example, the First clone (1) is assigned material ID one (blue) and the Last clone (5) is assigned material ID five (orange). Other clones in these rows along the X-axis are also assigned the same material ID.

Y: In the following example, the First clone (1) is assigned material ID one (blue) and the Last clone (5) is assigned material ID five (orange). Other clones in these rows along the Y-axis are also assigned the same material ID.

Z: In the following example, the Count Z parameter has been adjusted, making the grid five clones tall. The First clone (1) is assigned material ID one (blue) and the Last clone (5) is assigned material ID five (orange). Other clones in these rows along the Z-axis are also assigned the same material ID.

ID: In the following example, the First clone (1) is assigned material ID one (blue) and the Last clone (5) is assigned material ID five. The remaining clones' CloneIDs are used for material ID assignment.

This parameter is only available when the First Middle Last method is selected.
Sets the material ID for the first clone in the array.

Sets a minimum ID value that is randomly applied to the clones.
Sets a maximum ID value that is randomly applied to the clones.
This parameter is only available when the First Middle Last method is selected.
Sets the material ID for the last clone in the array.

Is only available when the Random or Ordered method is selected and the orientation is set to ID.
Specifies the number of times each material ID is repeated in the array.

Cycles through the assigned material IDs.
The following example shows how the clones cycle through material IDs one through five as the Phase parameter is adjusted:

Animating the Phase parameter can create interesting effects, as illustrated by this marquee. In this example, the Multi/Sub-object material assigned to this array has two different material IDs for the lightbulb filament: on and off. As the value of the Phase parameter changes, the material on the filament cycles from one clone to the next. When the Phase parameter is animated, the result is a glittering marquee.

Sets a random number seed for the material ID value.
Click
to randomize the seed value.