Sub topic 12
Controlling Noise from Lights and the World
Assume you can navigate Blender, use the Properties and Shader Editors, and have rendered a simple Cycles or EEVEE scene. This chapter focuses on Cycles noise. EEVEE does not use path-tracing samples in the same way, so its lighting problems usually come from shadow, reflection, or ambient-occlusion settings instead.
Why lighting becomes noisy
In Cycles, a sample is one estimated path of light through the scene. Cycles combines many paths to produce each pixel. With too few samples, pixels disagree about the amount of light they received. The result is grain, especially in shadows, reflections, glass, and areas lit indirectly by an HDRI.
Noise is more likely when:
- A small lamp is very bright.
- An HDRI contains a tiny, extremely bright sun.
- Light must bounce several times before reaching the camera.
- A glossy surface reflects a small lamp or bright HDRI pixel.
- Transparent or volumetric materials scatter light.
- The render has a low sample count.
A larger Area light spreads the same general illumination over a wider surface. This often produces softer shadows and more stable sampling than a tiny, intense light. It also changes the look of the scene, so do not enlarge a light only to hide noise.
Sampling and denoising
Increase samples when the noise is widespread. Denoising uses nearby pixels and the render’s auxiliary passes to estimate a cleaner result. It is useful for previews and final images, but it cannot restore detail that was never sampled.
| Setting | Effect | Starting approach |
|---|---|---|
| Render samples | More paths per pixel | 64–128 for tests |
| Denoising | Smooths the sampled result | Enable for previews and finals |
| Direct clamp | Limits bright first-bounce paths | Use only when fireflies appear |
| Indirect clamp | Limits bright bounced paths | Try a low value for severe fireflies |
| Light size | Softens shadows and spreads energy | Increase gradually |
import bpy
scene = bpy.context.scene
scene.render.engine = 'CYCLES'
# Begin with a moderate test render.
scene.cycles.samples = 128
scene.cycles.use_denoising = True
# Clamp unusually bright paths that can create fireflies.
scene.cycles.sample_clamp_direct = 10.0
scene.cycles.sample_clamp_indirect = 2.0Clamping can remove bright specks, but it also reduces physically accurate bright contributions. Change one value at a time and compare the image. If fireflies remain, inspect the scene for tiny emissive surfaces, intense HDRI pixels, reflective objects facing lamps, and unnecessary glossy or transparent bounces.
A practical test workflow
Use a small render region or a low-resolution image while testing. Keep the camera and exposure fixed so each comparison shows only the lighting change.
- Render with 32 or 64 samples.
- Enable denoising and locate the noisiest region.
- Rotate or lower the HDRI strength if a bright environment detail causes specks.
- Enlarge a tiny Area light or move it closer while reducing its power.
- Add samples only after the lighting itself is reasonable.
- Check the final image at its intended resolution. Noise that is visible in a preview may disappear after resizing.
Exercise
Exercise
A Cycles render has bright specks on a glossy metal object, but diffuse surfaces look clean. What should you inspect before doubling the sample count?
Show answer
Inspect tiny bright lamps, intense HDRI pixels, and reflective geometry facing those sources. Reduce extreme brightness, change the source angle or size, and test indirect clamping before increasing samples.