Sometimes it may be necessary to use a combination of different material types in material creation. Creating realistic or generic material is a complex process and it may be difficult to create with a single material type. In the real world, some materials often consist of a diffuse / glossy and specular combination. Depending on the material you will create, you may occasionally need to use combinations such as glossy + diffuse or specular + glossy. Or you may want to overlay one material to another.
That's where you can use Mix Material. You can use this for many scenarios. To better understand the situation, let's explain the options through the picture below.
You can mix 2 different materials from this parameter. On the right, there are 3 options:
With this option you can determine the mix amount. It comes with "FloatTexture" as default. "FloatTexture" is for determining the mix amount. You can see the amount of float if you click on the small triangle icon in the upper right hand side. The default value is 0.5. That is, both materials are equally mixed. From here you can adjust the value according to the type of material. The number 0 indicates material 2 and the number 1 indicates material 1. Between 0 and 1, you can start to mix. You can also define grey scale, RGB or procedural textures in the Amount section. For example, the following image was created using a grey scale image for the mix. In this section you will understand what texture you need to use over time. We recommend that you practice.
MATERIAL 1 AND MATERIAL 2:
You can enter 2 different materials in these slots.
With this parameter you can use displacement map with Mix material. Any gray scale image or procedural texture can be used from the "add displacement" option on the right. We will describe the detailed description of the Displacement Map in the chapter "Using Textures / Displacement"