---
title: "Stochastic Flakes"
canonical: "https://documentation.chaos.com/space/LAV/1506541695/Stochastic+Flakes"
format: markdown
---
This page provides information about the Stochastic Flakes material available for creation in Chaos Vantage.


## **Overview**

---

The Stochastic Flakes material simulates car paint, snow, and other glittery materials. The material reproduces at render time the combined effect of a large number of mirror-like flakes scattered over the surface of an object. The Stochastic Flakes material is similar to the Car Paint material but uses less memory.

![StochasticFlakesMtl.jpg](media://46c1d71f-dc0c-4602-bd6c-8744dc48fa35)


## **Parameters**

---

The Stochastic Flakes material parameters are grouped into three tabs: Flakes, Colors, and Advanced.

> ✅ Use the  button to add a map for the respective parameter.


### **Flakes**

---

**Enable flakes** – When enabled, the material simulates flakes scattered over the surface of the object. When disabled, the material renders the specified **BRDF type** with the specified glossiness. *See the **[Enable Flakes example](#Examples)** below.*

**Number of flakes** – The number of flakes, expressed as the square root of the actual number of flakes in the unit texture square. For example, a value of *3000* generates 9,000,000 flakes in the unit texture square. The total number of flakes is limited to 2<sup>31</sup> (a little over 2 billion), so the highest useful value for Number of flakes is *46340*. *See the **[Number of Flakes example](#NumberOfFlakesExample)** below.*

> ✅ To get more than 2 billion flakes, increase the **Flake scale** value

**Hilight glossiness** – Controls the distribution of the flakes. Values close to 1.0 orient all flakes with normals pointing more perpendicular to the surface, whereas lower values randomize the normals of the flakes. *See the **[Hilight Glossiness example](#HilightGlossinessExample)** below.*

**Blur angle** – Controls the "softening" of the flakes effect. Higher values produce softer results. Lower values make the flakes sharper. Values between *0.5* and *8* suit most scenes. *See the **[Blur Angle example](#BlurAngleExample)** below.*

**Reflection filter** – Specifies the reflection color of the flakes.

**BRDF type** – Specifies the BRDF that guides the distribution of the flakes:

**GGX** – Uses GGX distribution for the flakes. The GGX distribution has a longer "tail" than the Beckmann distribution.  
**Beckmann** – Uses a Beckmann distribution for the flakes.

**Seed **– The seed for the randomization of flakes. Different values produce different flake patterns.

**Mapping type** – Specifies the method for scattering the flakes over the surface.

**Explicit UVW **– Maps the flakes according to the specified **Map channel** value. The flake density on the surface depends on how the UVs follow the surface.  
**Triplanar from Object XYZ** – Creates the flakes with triplanar mapping. This mode suits objects without suitable UV mapping.

**Map channel** – Specifies which map channel to use when Mapping type is set to Explicit UVW.

**Flake scale** – Controls the scale of the texture space. When Mapping type is set to **Explicit UVW**, a value of *1.0* is recommended. For **Triplanar from Object XYZ** mapping, the **Number of flakes** amount is distributed in each square unit in local object coordinates. In this case it is necessary to lower the Flake scale value to *0.05*, *0.01*, or even less, and increase the Number of flakes value depending on the object size, especially if square artifacts are observed.

![Vantage_StochasticFlakes_Flakes.png](media://30f0ec8a-b20b-4241-9da3-be8be3a24b75)


### **Colors**

---

The **Colors **parameters control the color of the flakes, as well as random variation in their hue and lightness. Colored flakes reflect only part of the light spectrum, so the material appears darker, which is physically correct. When viewed from distance, the aggregate color of the material converges to the average color of the flakes.

 **Colored flakes** – Controls how the flakes are colored.

**Off **– All flakes use the specified flake color, with no variation.  
**Random Hue** – Randomizes the hue of each flake.  
**Random from Map** – Takes random flake colors from a texture map.

**Saturation **– Controls the amount of variation in saturation across the flake colors. Available when Colored flakes is set to Random hue.

**Lightness **– Controls the amount of variation in lightness across the flake colors. Available when Colored flakes is set to Random hue.

**Random color map** – Specifies a texture from which random colors are sampled and applied to the flake color. Available when Colored flakes is set to Random from map.

**White average** – When enabled, renders colored flakes without the darkening effect. Note that this is not physically correct. Available when Colored flakes is set to Random hue or Random from map.

![Vantage_StochasticFlakes_Colros_Off.png](media://88dd707c-a9c0-449d-9fca-db528b4b00fc)

Colored flakes is Off

![Vantage_StochasticFlakes_Colros_RandomHue.png](media://c6af2963-ab08-4177-9819-d8b94cda197e)

Colored flakes is Random hue

![Vantage_StochasticFlakes_Colros_RandomFromMap.png](media://2f032b7d-2edb-42f9-8238-a42f26631bdd)

Colored flakes is Random from map


### **Advanced**

---

**Blend minimum** – Specifies the number of flakes per pixel below which the material computes individual flakes. Above this value, the material gradually transitions to a smooth (non-discrete) BRDF.

**Blend maximum** – Specifies the number of flakes per pixel above which the material computes only the smooth (non-discrete) BRDF. Below this value, the material gradually transitions to discrete flakes.

![Advanced](media://d55473f0-afa9-4ec9-b10d-453e8f95b1c8)


## **Examples**

---

The following examples demonstrate the effect that individual Stochastic Flakes material parameters have on the scene. Click on any image to view it at a higher resolution.


### **Example: Enable Flakes**


This example shows the effect of the **Enable flakes** parameter. When enabled, the material scatters flakes over the surface of the object. When disabled, the material renders with only the specified **BRDF type** and **Hilight glossiness** values. In both renders, the **BRDF type** is set to **GGX**.


![Flakes_Off.png](media://f06c2621-91dd-4ce2-952e-118a3e313216)

Enable flakes is off

![Flakes_On.png](media://c9523d80-e7f1-4962-8388-3d5ff3270515)

Enable flakes is on

 

> Macro (anchor)



---


### **Example: Number of Flakes**


This example shows the effect of the **Number of flakes** parameter. Lower values produce fewer, larger flakes that stand out clearly on the surface. As the value increases, the flakes become smaller and denser, and the surface looks finer and more uniform.


![Number_Of_Flakes_2236.png](media://035ef407-db75-455c-8770-b463e63fe1e5)

Number of flakes is 2236 (5,000,000 flakes per unit texture square)

![Number_Of_Flakes_7070.png](media://a4bc5525-1e3c-4a02-aff0-c3170e13a1fc)

Number of flakes is 7070 (50,000,000 flakes)

![Number_Of_Flakes_22360.png](media://59db86ee-3018-4122-830f-e186deaeef93)

Number of flakes is 22360 (500,000,000 flakes)


> Macro (anchor)



---


### **Example: Hilight Glossiness**


This example shows the effect of the **Hilight glossiness** parameter. At lower values, the flake normals point in random directions, so the flakes scatter light evenly and the surface looks diffuse and sparkly. As the value increases, more flake normals align with the surface normal, and the highlights become sharper and more defined. At values close to *1.0*, almost all flakes face the same way, so the surface acts like a mirror and shows clear reflections of the environment.


![Hilight_Glosiness_0.6.png](media://d47b827c-ca78-438d-adcc-9c3c85bb5b95)

Hilight glossiness is 0.6

![Hilight_Glosiness_0.8.png](media://7f369fd4-cb1a-4b6c-9f9c-ca7c94aa5723)

Hilight glossiness is 0.8

![Hilight_Glosiness_0.95.png](media://bc3c68b1-8142-44ee-8814-6df60e71d983)

Hilight glossiness is 0.95

 

> Macro (anchor)



---


### **Example: Blur Angle**


This example shows the effect of the **Blur angle** parameter. Lower values make each flake reflect a narrow cone of light, so the flakes appear sharp and distinct and the surface has a crisp, grainy sparkle. Higher values widen the reflection of each flake, which softens the flakes effect and gives the surface a smoother, more blended look.


![Blur_Angle_1.png](media://360def02-d14b-4443-ba0e-bf2b356baa83)

Blur angle is 1

![Blur_Angle_6.png](media://3175093a-643e-4d8f-b269-7c69285ca55c)

Blur angle is 6

![Blur_Angle_12.png](media://2ac0cfb5-6e33-4d58-b15e-fe387f9bfe1a)

Blur angle is 12



![Blur_Angle_Changes.gif](media://64416041-523f-400b-8c44-57c786c7a20c)