<div dir="ltr"><div><div>&#39;Setting clamp to 0 does not *make* fireflies. Setting clamp to values 
other than 0 imposes a maximum brightness limit on individual samples. 
In many cases, limiting that brightness hides fireflies, but in cases 
like this, it can take away important contributions.&#39;<br><br></div>You are right; I&#39;m from practical side, sorry for being non-technical. The question is how Cycles settings could be optimized for avoiding fireflies and keep the intensity of lights with quick rendertimes. I&#39;m working on scene with thousands of lights (both mesh lights and &#39;real&#39; lights) and also noticed this issue.<br><br></div>Could you share any tips? Thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-13 10:58 GMT+01:00 Stefan Werner <span dir="ltr">&lt;<a href="mailto:stewreo@gmail.com" target="_blank">stewreo@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
&gt; On 13 Feb 2017, at 02:02, F Tamas &lt;<a href="mailto:tamasf.3d@gmail.com">tamasf.3d@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; But setting clamp to 0 makes fireflies, so rendertime will be far longer, am I right?<br>
<br>
</span>Setting clamp to 0 does not *make* fireflies. Setting clamp to values other than 0 imposes a maximum brightness limit on individual samples. In many cases, limiting that brightness hides fireflies, but in cases like this, it can take away important contributions.<br>
<br>
A simple case to demonstrate this is if you take an object with a bright and sharp specular highlight and have that reflection be blurred either by depth of field or motion blur. Setting a clamp value on direct light very quickly dims what otherwise is a bright spot/streak.<br>
<br>
With many lights and path tracing, the following situation takes place:<br>
In standard path tracing, only one light is being sampled per pixel sample, all other lights are ignored. To compensate for that, the contribution of that light must be divided by the probability of that light being sampled, that is, divided by the number of lights. With 100 light sources, that means any given light source will be considered for only 1 in 100 pixel samples, but its contribution to that sample will be 100 times that of what it would be if it were just one light source. When that sample is now being clamped, this brightness gets limited and the appears darker than it should be.<br>
<br>
Without looking at the Guido&#39;s scene, I cannot tell if this is what’s the issue there, but this is my educated guess.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Stefan<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-cycles</a><br>
</div></div></blockquote></div><br></div>