The Hagelslag texture node produces a random candy sprinkle texture (figure 1). 



Hagelslag



Figure 1: The Hagelslag node and it's associated parameters 


Hagelslag Parameters

Density - Determines the number of sprinkles added to the texture map.

Random Seed - Changes the sprinkle pattern across a surface.

Sprinkle Radius - Determines the thickness of the sprinkle shapes.

Sprinkle Length - Determines the length of the sprinkle shapes. 

Mask Texture - Sets the color of the sprinkle shapes. 

Transform Pin - Positions, scales, and rotates the surface texture.

Projection Pin - Sets how the texture projects onto the surface.