---
title: "Sample Rate"
canonical: "https://documentation.chaos.com/space/VMAYA/111739313/Sample%20Rate"
format: markdown
---
The Sample Rate Render Element displays the work being done by the image sampler as a red, green, and blue image.

## **Overview**

---

##   
**Attributes**

---

##   
**Common Uses**

---

VRaySampleRate can be used with both the **Bucket** and **Progressive **image samplers.

### **Bucket Image Sampler**

The Sample Rate Render Element is useful for fine tuning render settings using a "red is bad" rule.

Below is a scene with minimal red in the Sample Rate Render Element, indicating that the sampler had a high enough **Max Subdivs** value to hit the desired noise level. 


> Macro (inline-media-image)

 > Macro (inline-media-image)

  
Render time = 7h 40m 30s, **Max Subdivs** = 32, **Noise Threshold** = 0.01, **Min shading rate** = 6  
The image sampler was mostly able to reach the noise threshold using the subdivisions allotted.



In the next image, the sampler did not have a high enough **Max Subdivs** value to hit the desired noise level. The high amount of red shows that the image sampler cut off sampling before the image hit the desired noise level. Noise can be decreased by increasing the **Max Subdivs **parameter to allow the image sampler to reach the desired noise level. Click on the image to view a larger version.


> Macro (inline-media-image)

 > Macro (inline-media-image)

  
Render time = 1h 26m 05s, **Max Subdivs** = 8, **Noise Threshold** = 0.01, **Min shading rate** = 6  
The Image sampler was mostly not able to reach the specified noise threshold for most of the image.



The primary samples can be allocated to the complex areas of the image by increasing both the **Max Subdivs** and the **Noise Threshold** values. This way, V-Ray has available enough primary samples to lower the noise of the complex areas in exchange for an overall slight increase in noise, while still keeping the render times down.


> Macro (inline-media-image)

> Macro (inline-media-image)

  
Render time = 3h 58m 37s, **Max Subdivs** = 30, **Noise Threshold** = 0.02, **Min shading rate** = 6  
Sample Rate Render Element with not enough max subdivs.  
The Image sampler was mostly not able to reach the specified noise threshold.



Alternatively, the image sampler can allocate primary and secondary samples by changing the **Min shading rate **value.

For this scene, increasing the **Min shading rate** will allow the sampler more secondary samples to focus on cleaning the lighting, GI, reflections and refractions. In exchange, some of the fog and high contrast areas are a bit noisier as there are not enough primary samples taken for those areas.


> Macro (inline-media-image)

  > Macro (inline-media-image)

  
Render time = 7h 09m19s, **Max Subdivs** = 18, **Noise Threshold** = 0.01, **Min shading rate** = 20  
Sample Rate Render Element with not enough max subdivs.  
 Less primary samples were needed to hit the desired noise level since more secondary samples were taken.



### **Progressive Image Sampler**

---

The **Progressive** sampler uses the same algorithm as the **Bucket** sampler. The main difference is that the maximum samples increase as the sampler finishes each pass.




---