As we said, the optimization is an essential part of working with materials. Although the optimization is not a major topic of this chapter, you should know that some of the materials have built-in functionality that can help you in improving the overall performance of the application. Let's imagine the following scenario. You have a room in which the walls consist of planes. Each plane should have a different texture. Normally you would create one
MovieMaterial that accepts a single
MovieClip as its texture having four textures, in our cases, loaded into the application. Well, in a different case, you may have many more walls and each loaded texture adds to the overall application weight.