Material is created as follows:
or
The Material controls the final shading of each model. The Material is composed of Effects, and the shading process of an Effect is controlled by the Material. The Material itself can also be regarded as a container of Effect assets. The Material can switch the Effect assets to be used at will. The following figure is the Effect asset of the Material we have selected by default.
At the same time, we can also switch the Effect of the current Material by clicking the box to the right of the Effect property.
Effects are created in a similar way to Materials
.
The created Effect is a PBR Effect by default.