There are several ways to use the Flakes shader, and this tutorial aims to demystify some of its uses. In this short, making of tutorial we demonstrate how to use the Flakes shader (in combination with the Standard Surface) to create some glitter make up.
- To start off with, here we have a default Standard Surface shader with a color texture map connected to the Specular Color.
- If we want variations in the color of the flaked reflection, we need to have the Flakes in a lower layer (Normal - Bump Mapping under the Geometry section). This effect is evident in materials such as metallic car paint.
Normal and Coating (Default White Color)
- If we increase the Coating Weight, we just get a white Coating Color (default). This effect would be useful for car paints or plastics but does not look suitable, as it is, for glitter makeup. We must also add the Flakes to the Coat Normal as well.
The color you assign to the Coating will just tint the lower Base, Metal, and Specular layers. The Coat layer is a semi-opaque dielectric type layer that will always reflect white, no matter the color you assign it. The color of the Coat layer will tint the underlying Base and Specular layers. For example, and somewhat counter-intuitively, a green tinted glass does not have green reflections. It is the refraction of what is underneath the glass that is tinted green. The same thing happens with colored plastics.
Normal and Coat Normal
- Connecting the Flakes into both the Normal attribute and the Coat Normal gives us the final result that we want. In the end we have used the Normal on both the Specular and Coat layers. This method makes sense. However the appearance would also depend on how much clear enamel/oil/whatever the glitter in the makeup is mixed with.
Ensure that the Output Space of the Flakes shader is set to World.
With car paint, the Coat layer would be quite thick, giving it a smooth polished appearance that is easy to reproduce. However, with this makeup example, the Coat layer would be quite thin and less polished. The Normal of the Coat layer would be a blend of the bumpiness of the underlying skin, the orientation of the flakes of glitter, the distribution of the makeup itself with thicker and thinner patches, and the smooth surface that the surface tension of a thin layer of liquid gives you over pretty much any rough surface. As the makeup dries and the face expresses, the surface of the Coat layer could also become cracked and dulled.