set_cycles_sampling
Configure Blender Cycles sampling to balance render quality and speed by setting sample counts, adaptive noise thresholds, time limits, light clamps, path guiding, and seeds.
Instructions
Tune how Cycles spends samples. Set the sample count with set_render_samples.
Leave anything unset to keep it.
Args: adaptive: Stop sampling pixels once they are clean enough. noise_threshold: Adaptive cut-off, 0.0 to 1.0. 0.01 is Blender's default; 0.05 renders faster and noisier, 0.001 slower and cleaner. min_samples: Samples every pixel gets before adaptive stopping, 0 to 4096. 0 lets Blender choose. time_limit: Seconds per frame before stopping, 0 to 86400. 0 means no limit. clamp_direct: Cap on direct light per sample, 0 to 1000000. 0 means no clamp. Lowers fireflies at the cost of some energy. clamp_indirect: Cap on bounced light per sample, 0 to 1000000. 10 is Blender's default; lower removes fireflies. path_guiding: Learn where light comes from; helps interiors lit through small openings. CPU only. seed: Noise pattern seed, 0 or more. animated_seed: Change the seed every frame so noise does not stick to the screen in animations.
Returns: Dict with the sampling settings after the change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| adaptive | No | ||
| time_limit | No | ||
| min_samples | No | ||
| clamp_direct | No | ||
| path_guiding | No | ||
| animated_seed | No | ||
| clamp_indirect | No | ||
| noise_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||