1
$\begingroup$

Is there any way to remove fireflies from the edges on a glossy direct pass? (At the very edges of the popcorn container and haloing the popcorn kernels in the front)

I set the samples to 2000 and filter glossy: 0.5 in the render below. The light is set to multiple importance on.glossy direct

$\endgroup$

1 Answer 1

4
$\begingroup$

Here is how to composite your scene. This may also resolve your other question: Posterized shadow pass in Cycles?

Since you only use Glossy and Diffuse shaders, we only need the glossy and diffuse passes enabled in the render passes.

composite glossy and diffuse

What you are experiencing are not fireflies. These artefacts will not be visible after the correct compositing.

The reason for that is the premultiplication of very transparent pixels after anti-aliasing.

In some edge pixels the popcorn overlaps the box. In a pixel which the box covers just slightly and which is mainly filled by a popcorn the glossy color of the box will be close to 0. The Glossy is going to be multiplied by the Glossy Color. Hence it needs to be unpremultiplied. There are plenty of tutorials on premultiplication and unpremultiplication in compositing and why they are important. Here is an explanation of the technical background. Color correction also only works with unpremultiplied data. Your scene is fine.

enter image description here

$\endgroup$
0

You must log in to answer this question.

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