---
title: "VRayStochasticFlakesMtl"
canonical: "https://documentation.chaos.com/space/VMAYA/111740387/VRayStochasticFlakesMtl"
format: markdown
---
This page includes details on the V-Ray Stochastic Flakes material.

** **

## **Overview**

---

<details>
<summary>UI Path: ||Right-click on the geometry|| > Assign New Material...</summary>

||Right-click on the geometry|| **>** Assign New Material... **> VRay** section **> VRay Stochastic Flakes Mtl**

![image](media://a7c10266-1fee-4f2b-95eb-cc0c70141711)


||V-Ray Shelf|| **> **Right-click to** Create V-Ray Materials **button **> VRay Stochastic Flakes Mtl**


![maya2025_72010_Shelf_VRayMtls.png](media://15929263-b781-4e3e-a5ff-1e8516d83c77)


||Hypershade||** > Window** tab** >** **Create... > VRay **section **> VRay Stochastic Flakes Mtl**


![image](media://f2a9b734-f60c-4c2c-8637-1cd61c866757)
</details>


## **Base Parameters**

---

> Macro (anchor)



---

### Example: Enable Flakes

 

The** Enable Flakes** parameter allows the user to turn the Stochastic Flakes effect on and off. When on, flakes will be scattered across the surface of the material. When off, the material will render with only the specified **Brdf Type** and **Hilight Glossiness**. In the example below, the BRDF type is set to GGX. Click on the image to open the full-res.

 

> Macro (anchor)



---

### Example: Number of Flakes

 

 

> Macro (anchor)



---

### Example: Highlight Glossiness

 

 > Macro (anchor)



---

### Example: Blur Angle

 

 

## **Colored Flakes Parameters**

---

 

 > Macro (anchor)



---

 

### Example: Random Color Map

 

The **Random Color Map** parameter allows the user to provide a texture map for randomizing the stochastic flake colors. It is only accessible when **Colored Flakes** is set to **Random from Map**. Random colors are generated by sampling the horizontal row of pixels at the very bottom of the map along the U-axis. The sample area is only 1 pixel tall; the rest of the map is ignored.

 

![image](media://40a00d2b-9933-40b8-a416-977955c3fea7)

 

The example below illustrates how the same ramp produces different flake color results depending on the ramp type. A U Ramp produces multi-colored flakes while a V ramp produces single-color flakes. The Stochastic Flakes Material is used as the base material of a [VRayBlendMtl ](https://docs-chaos.atlassian.net/wiki/spaces/VMAYA/pages/111740574)with a lightly reflective [VRayMtl](https://docs-chaos.atlassian.net/wiki/spaces/VMAYA/pages/111739405) as the coat.

 

 

 

## **Advanced Parameters**

---

 

## **References**

---

The VRayStochasticFlakesMtl material is based on the Chaos paper "A Practical Stochastic Algorithm for Rendering Mirror-Like Flakes" ([PDF Download](https://www.chaos.com/papers/a-practical-stochastic-algorithm-for-rendering-mirror-like-flakes?srsltid=AfmBOoqtcQxMCRqH9CJt-cL1x2E2XTK9tO6bhjCIhvzDHkDI4i-dDOs6)).