Sampling &
Denoising
Learn how ray samples build your render image and how denoising algorithms clean up the noise: giving you faster, cleaner results in Blender's Cycles engine.
What Is Sampling?
In Cycles, every pixel in your image is calculated by shooting rays from the camera into the scene. Each ray bounces off surfaces, picks up color and light information, and returns a value. A single ray per pixel would be extremely noisy because it captures only one random light path. Sampling means shooting multiple rays per pixel and averaging the results to converge toward a clean, accurate image.
How Noise Decreases with Samples
What Is Denoising?
Denoising is a post-process (or real-time) algorithm that intelligently removes noise from a render. Instead of spending hours computing extra samples, you render at a moderate sample count and let the denoiser reconstruct a clean image by analyzing patterns in the noisy data.
Blender's Three Denoisers
The Sampling-Denoising Tradeoff
The \( \frac{1}{\sqrt{N}} \) Noise Rule
Path tracing noise follows a fundamental statistical law. The standard deviation of noise in a pixel is proportional to:
Render vs Viewport Samples
| Render Samples | Viewport Samples | |
|---|---|---|
| Purpose | Final output image/animation | Interactive preview while working |
| Typical Range | 128 - 4096 | 16 - 128 |
| Denoiser | OIDN or OptiX (post-render) | OptiX or OIDN (real-time) |
| Speed Priority | Quality over speed | Speed over quality |
| Location | Render Properties > Sampling | Render Properties > Sampling |
Adaptive Sampling
Not every pixel needs the same number of samples. A bright, directly-lit wall converges quickly, while a dark shadow or caustic needs many more. Adaptive Sampling lets Cycles stop sampling pixels early once they are "clean enough."
Key Settings Breakdown
Step-by-Step Workflow
Example 1: Simple Interior
A room with a window, a table, and diffuse walls. Mostly direct lighting with some soft shadows.
Noise Threshold: 0.01
Denoiser: OIDN
Bounces: 6 total
Example 2: Glass Caustics
A wine glass on a table with sunlight creating caustic patterns. This is one of the hardest scenes for path tracing.
Noise Threshold: 0.005
Denoiser: OIDN
Bounces: 12 total, Glossy/Transmission: 8
Example 3: Animation Denoising
Denoising animations introduces a unique challenge: temporal flickering. Each frame is denoised independently, so the denoiser may make slightly different decisions frame-to-frame, causing shimmer.
Common Mistakes
Summary Comparison
| Strategy | Quality | Speed | Best For |
|---|---|---|---|
| High Samples Only | ★★★ | ★ | Reference renders, final portfolio |
| Low Samples + Denoise | ★★ | ★★★ | Quick previews, test renders |
| Adaptive + Denoise | ★★★ | ★★ | Production renders (recommended) |
| Compositor Denoise | ★★★ | ★★ | Animation, fine control needed |
Question 1 of 5
According to the inverse square root rule, if you want to halve the noise in a render, you must multiply the sample count by:
Question 2 of 5
What does Adaptive Sampling do in Blender's Cycles renderer?
Question 3 of 5
You are rendering a scene with glass objects producing caustics. Your render at 128 samples + OIDN shows smeared caustic patterns. What is the best fix?
Question 4 of 5
What is a firefly in the context of path tracing, and how is it typically handled?
Question 5 of 5
When denoising an animation in Blender, what additional challenge must you consider compared to a still image?