Micro Flakes is a specialized procedural material generator designed to render complex, sparkling surfaces like metallic car paint, snow, cosmetics, and glitter. Based on the groundbreaking 2018 research "Real-time Rendering of Procedural Multiscale Materials," this node solves the biggest problem with glitter in CGI: severe temporal flickering and aliasing. By mathematically resolving analytical micro-facets that are smaller than a single pixel, it produces stable, gorgeous "glints" that behave perfectly at any camera distance or angle, reacting dynamically to your scene's lighting.
Usage & Behavior
Unlike standard noise nodes, this is a Lighting-Aware Shader. It must evaluate the lights in your scene to know which microscopic flakes are catching the light and reflecting it into the camera lens. You plug the output of this node into the Base Color or Emission of your main shader, or Add it over a glossy material to inject localized sparkles.
Key Features
- Multiscale Stability: Flakes gracefully merge into a smooth BRDF at a distance instead of flickering.
- Triplanar Native: Maps perfectly to any geometry without requiring UVs (optional).
- Virtual Light: Built-in fake illumination ensures sparkles are visible even in flat lighting.
Deep Dive: The Anti-Flicker Magic
Standard approaches to glitter (like feeding high-frequency Voronoi noise into a Bump node) fail spectacularly in animation. As the camera moves, sub-pixel white dots snap in and out of existence, creating violent, noisy flickering ("fireflies").
Standard bump maps attempt to calculate thousands of tiny normals inside a single pixel. The raytracer only hits one of them per sample. This causes severe undersampling, requiring thousands of render passes to clean up.
Our shader tracks the "Pixel Footprint". Instead of generating physical geometry, it uses a Binomial Probability Distribution to calculate exactly how much light would bounce back if there were millions of flakes there. As you zoom out, individual glints mathematically blur into a smooth, correct specular highlight.
Parameters
Surface & Flake Properties
- Low (0.005): Sharp, blindingly bright pinpoint sparkles (Glitter).
- High (0.1): Softer, more diffuse sparkles (Sand).
Illumination & Color
- Low values (0.001): Very tight search. Only flakes perfectly aligned with a sharp, pinpoint light source will flash. Creates distinct, isolated "fireflies".
- High values (0.1): Wide search. Flakes will catch light from broader, softer sources (like HDRIs), resulting in a more continuous, "sandy" sparkle across the highlight rather than sharp individual pings.
Grading
Quick Recipes
Starting points for common sparkly materials.
Metallic Car Paint
- Micro Rough 0.02
- Micro Density 8000
- Detail Var. 10.0
- Colorize False
Fresh Snow
- Roughness U/V 0.8
- Micro Density 2000
- Detail Var. 200.0
- Virtual Light True
Holographic Glitter
- Micro Rough 0.005
- Dynamic Range 500.0
- Colorize True
