Car Paint with flakes and coating.
Produces a bumped normal that simulates a flake-like perturbation. Connecting this to a the Bump Normal parameter of PxrLMMetal can create metallic fleck paint.
Connect your bump pattern here if you wish to add flakes on top of it. Ignored if not connected.
This increases the distribution of flake normals, or their deviation from the base normal.
Changes the global size of the metal flake features.
Changes the number of metal flakes for a given area. Valid between 0 (no flakes) and 1 (all flakes).
Changes the size of metal flakes. Pushing the value above one will create something akin to galvanized metal.
Number of octaves of noise to calculate flakes. Most of the time, 1 is enough.
Jitters the flake's position. 0.0 gives a grid-like organisation and 1.0 looks very random.
Make sure flakes normals are always in the same hemisphere as the original normal.
The manifold over which to apply the flakes.
The default (when there is no connected manifold) is P
in object space. This will work fine if your object is not deforming.
If your object is deforming :
__Pref
primvar to your geometry in its un-deformed state.__Pref
object
The bumped normal.
The flakes' mask. This is a black and white mask that may allow you to tint flakes or change their roughness, for example.