16
$\begingroup$

What is multiple importance sample option. And the main question is Can It be simulated via OSL shader or in particular glossy shader?

$\endgroup$
3
  • $\begingroup$ As far as what it is, this question has an answer that provides a visual example of the effects of MIS blender.stackexchange.com/questions/8039/… $\endgroup$ Commented Mar 29, 2014 at 20:52
  • 1
    $\begingroup$ It is related to how decisions are made as to where rays are sent to get information for the final image. It is a core feature of the render engine and can't be simulated in osl. $\endgroup$
    – sambler
    Commented Mar 29, 2014 at 21:02
  • $\begingroup$ Related: blender.stackexchange.com/q/5309/599 $\endgroup$
    – gandalf3
    Commented Mar 29, 2014 at 21:45

1 Answer 1

17
$\begingroup$

Multiple importance sample (MIS) basically helps guide rays towards light sources, reducing noise

MIS only applies if the material has an emission node. (world materials and lamps behave a little differently).

From the wiki:

Material

By default objects with emitting materials use both direct and indirect light sampling methods, but in some cases it may lead to less noise overall to disable direct light sampling for some materials. This can be done by disabling the Multiple Importance Sample option. This is especially useful on large objects that emit little light compared to other light sources.

This option will only have an influence if the material contains an emission node; it will be automatically disabled otherwise.

Here's an example with a bright light source (a sphere) and a weak light source (a plane above the scene, you can see it reflected in the seconds sphere)

Without MIS on the low strength plane:

enter image description here

With MIS on the low strength plane:

enter image description here

The bright sphere has MIS enabled in both examples. The second example seems to have slightly more noise (look at the shadow of the second sphere and the reflection of the floor plane)

World

By default lighting from the world is computed solely with indirect light sampling. However for more complex environment maps this can be too noisy, as sampling the BSDF may not easily find the highlights in the environment map image. By enabling this option, the world background will be sampled as a lamp, with lighter parts automatically given more samples.

Without MIS:

enter image description here

With MIS:

enter image description here

The wiki really says it all here.

Lamp

By default lamps use only direct light sampling. For area lights and sharp glossy reflections, however, this can be noisy, and enabling this option will enable indirect light sampling to be used in addition to reduce noise.

Without MIS only rays that bounce directly to the lamp are sampled (camera > surface > lamp):

enter image description here

With MIS rays that bounce indirectly are sampled too (e.g. camera > surface > surface > lamp):

enter image description here

$\endgroup$
2
  • $\begingroup$ In particular, is MIS a magic bullet that should always be on? Are there any cases where its better left off? $\endgroup$
    – PythonNut
    Commented Aug 17, 2015 at 17:51
  • $\begingroup$ @PythonNut See blender.stackexchange.com/q/5309/599 $\endgroup$
    – gandalf3
    Commented Aug 17, 2015 at 17:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .