<div dir="ltr">Hi,<br>in Blender Cycles, at the exporter, file blender_object.cpp<br>I see this:<br><div><span class="" style="white-space:pre">        </span>int samples = get_int(clamp, &quot;samples&quot;);</div><div><span class="" style="white-space:pre">        </span>if(get_boolean(cscene, &quot;use_square_samples&quot;))</div><div><span class="" style="white-space:pre">                </span>light-&gt;samples = samples * samples;</div><div><span class="" style="white-space:pre">        </span>else</div><div><span class="" style="white-space:pre">                </span>light-&gt;samples = samples;<br><br>which means a light can have its own samples independent from camera samples.<br>I wanna know what is the behavior, in this 2 cases:<br>1- camera spp = 100, light spp = 220<br>2- camera spp = 100, light spp = 30<br><br>is it probability? so in case 1 it may lead to 2.2 light samples per 1 camera sample &quot;may be 2 or 3 depending on random number&quot; , or how it works.<br><br>I&#39;m creating an exporter and need to give the user this &quot;hidden&quot; feature per light.<br><br>cheers,<br>Mohamed Sakr</div></div>