Overview
This texture creates a procedural flake normal map that can be used f.e. for car-paint-like materials. It is intended to be used as a normal map inside the bump slot of a material.
The shader code is here: flakes.osl
Parameters
Outputs
result - the flake normal map color
alpha - a black and white mask for the flakes
Inputs
flake scale - scales the entire flake structure up or down. Larger values zoom out of the map.
flake size - the relative size of the flakes.
flake size variance -