Houdini 22.0 Nodes VOP nodes

MtlX Flake 2D VOP node

A procedural 2d flake pattern

On this page

Generates a procedural flake pattern in 2D space, suitable for simulating metallic flakes in materials such as car paint.

Parameters

texcoord

The 2D texture coordinate at which the flake pattern is evaluated.

size

The size of individual flakes, with smaller values producing larger flakes.

roughness

The surface roughness of individual flakes, controlling the variation in normal.

coverage

The density of flakes in the pattern, ranging from 0.0 (no flakes) to 1.0 (maximum).

normal

The surface normal vector used as the base for flake normal perturbations.

tangent

The surface tangent vector, used to construct the tangent space.

bitangent

The surface bitangent vector, used to construct the tangent space.

Outputs

id

Unique identifier for each flake. 0 for no flake.

rand

Random value per flake for additional variation. 0.0 for no flake.

presence

Presence per flake; a depth-like value (higher is closer to the surface). 0.0 for no flake.

flakenormal

The computed flake normal. Base normal if no flake present.

VOP nodes