The idea is to have at most 4 detail maps and one detail weight map that has 4 channels: R, G, B, and Alpha. Each channel will be controlling the weight of one detail map. For detail maps, that are directional, we can also have a detail direction map (similar to that of anisotropic shaders). For example, a head has…