# Blender Tutorial | How to deal with Fireflies and blackpixels AUTOMATICALLY -\> Cycles

**URL:** <https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320>\
**Category:** Tutorials, Tips and Tricks\
**Created:** [April 11, 2012, 11:21am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320 "2012-04-11T11:21:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amadeo\_Comp](https://blenderartists.org/user_avatar/blenderartists.org/amadeo_comp/32/20858_2.png) [@Amadeo\_Comp](https://blenderartists.org/u/Amadeo_Comp)\
**Post date:** [April 11, 2012, 11:21am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/1 "2012-04-11T11:21:07Z")

</div>

Hello everyone,

I came up with a solution on how to deal with Fireflies and Black pixels created by Cycles automatically! All the magic happens in the compositor.

If you have any further information on why they appear and on what you can do about it in general, please post it in he comments. though, with this technique you will no longer have to worry about tham at all!

[https://youtu.be/I3r8jnAQH7g](https://youtu.be/I3r8jnAQH7g)

Hope you enjoy it!

---

<div class="post-metadata">

**Author:** ![Amadeo\_Comp](https://blenderartists.org/user_avatar/blenderartists.org/amadeo_comp/32/20858_2.png) [@Amadeo\_Comp](https://blenderartists.org/u/Amadeo_Comp)\
**Post date:** [April 12, 2012, 6:16am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/2 "2012-04-12T06:16:21Z")

</div>

There is one other thing i’d like to mention: Certain material-combinations generate a hideous amount of fireflies. It’s not possible to get rid of them with this technique, because quite often there are two or even more bright pixels right next to each other! Things to look out for are mixing glossy / glass shaders and velvet / glossy. If you know about others please post them.

Furthermore, i noticed that fireflies appear more often when using lamps instead of meshes with an emit value, especially point lamps and area lamps. Anyone made similliar experiences?

---

<div class="post-metadata">

**Author:** ![catfink](https://blenderartists.org/letter_avatar_proxy/v4/letter/c/3ab097/32.png) [@catfink](https://blenderartists.org/u/catfink)\
**Post date:** [April 12, 2012, 4:25pm UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/3 "2012-04-12T16:25:57Z")

</div>

thanks for this post, this has saved me a lot of problems, awesome job.

---

<div class="post-metadata">

**Author:** ![Jay-artist](https://blenderartists.org/user_avatar/blenderartists.org/jay-artist/32/18350_2.png) [@Jay-artist](https://blenderartists.org/u/Jay-artist)\
**Post date:** [April 13, 2012, 2:47am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/4 "2012-04-13T02:47:34Z")

</div>

My tip to avoid fireflies is to use only Mesh Emitters, Area Lights are terrible for fireflies - the main cause.

---

<div class="post-metadata">

**Author:** ![Amadeo\_Comp](https://blenderartists.org/user_avatar/blenderartists.org/amadeo_comp/32/20858_2.png) [@Amadeo\_Comp](https://blenderartists.org/u/Amadeo_Comp)\
**Post date:** [April 13, 2012, 4:11am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/5 "2012-04-13T04:11:50Z")

</div>

> [@Jay-artist](#):
>
> My tip to avoid fireflies is to use only Mesh Emitters, Area Lights are terrible for fireflies - the main cause.

That is indeed so - But there’s allways a chance of having a few of them in your scene, no matter what - hope that will change at some point!

---

<div class="post-metadata">

**Author:** ![Ben\_Lind](https://blenderartists.org/user_avatar/blenderartists.org/ben_lind/32/17928_2.png) [@Ben\_Lind](https://blenderartists.org/u/Ben_Lind)\
**Post date:** [April 16, 2012, 9:43am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/6 "2012-04-16T09:43:45Z")

</div>

That’s genius! I’m impressed. I would probably never have thought of that. 😃

---

<div class="post-metadata">

**Author:** ![Amadeo\_Comp](https://blenderartists.org/user_avatar/blenderartists.org/amadeo_comp/32/20858_2.png) [@Amadeo\_Comp](https://blenderartists.org/u/Amadeo_Comp)\
**Post date:** [April 16, 2012, 12:24pm UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/7 "2012-04-16T12:24:31Z")

</div>

> [@Ben\_Lind](#):
>
> That’s genius! I’m impressed. I would probably never have thought of that. 😃

Nice to hear that 😉 I’m just glad i can finally render animations without caring about that issue^^

---

<div class="post-metadata">

**Author:** ![artisanicview](https://blenderartists.org/user_avatar/blenderartists.org/artisanicview/32/3607_2.png) [@artisanicview](https://blenderartists.org/u/artisanicview)\
**Post date:** [April 17, 2012, 11:42am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/8 "2012-04-17T11:42:10Z")

</div>

**Blender Tutorial | How to deal with Fireflies and blackpixels AUTOMATICALLY -\> Cycles**

Ok. Where is the tutorial about this? I watched the youtube movies but is all about modelling and rendering.

---

<div class="post-metadata">

**Author:** ![Amadeo\_Comp](https://blenderartists.org/user_avatar/blenderartists.org/amadeo_comp/32/20858_2.png) [@Amadeo\_Comp](https://blenderartists.org/u/Amadeo_Comp)\
**Post date:** [April 17, 2012, 1:40pm UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/9 "2012-04-17T13:40:29Z")

</div>

> [@artisanicview](#):
>
> **Blender Tutorial | How to deal with Fireflies and blackpixels AUTOMATICALLY -\> Cycles**
> 
> Ok. Where is the tutorial about this? I watched the youtube movies but is all about modelling and rendering.

hmmm theoretically if you press play on the video in the first post, the video should start right away!

Otherwise just use this link to the video:

[![](https://blenderartists.org/uploads/default/original/4X/5/f/6/5f6a60df504773ac688a1987cf562d5398fdba7e.jpeg "Blender Tutorials | Side Dish 1 | Automatically dealing with fireflies and black pixels in cycles") ](https://www.youtube.com/watch?v=I3r8jnAQH7g)

hope it works out!

---

<div class="post-metadata">

**Author:** ![artisanicview](https://blenderartists.org/user_avatar/blenderartists.org/artisanicview/32/3607_2.png) [@artisanicview](https://blenderartists.org/u/artisanicview)\
**Post date:** [April 17, 2012, 10:41pm UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/10 "2012-04-17T22:41:54Z")

</div>

> [@Amadeo Comp.](#):
>
> hmmm theoretically if you press play on the video in the first post, the video should start right away!
> 
> Otherwise just use this link to the video:
> 
> [http://www.youtube.com/watch?v=I3r8jnAQH7g](http://www.youtube.com/watch?v=I3r8jnAQH7g)
> 
> hope it works out!

Thank you. Now is working.

---

<div class="post-metadata">

**Author:** ![Amadeo\_Comp](https://blenderartists.org/user_avatar/blenderartists.org/amadeo_comp/32/20858_2.png) [@Amadeo\_Comp](https://blenderartists.org/u/Amadeo_Comp)\
**Post date:** [April 28, 2012, 3:39am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/11 "2012-04-28T03:39:36Z")

</div>

Also, the fireflie-count in your scene is abnormally high - do you use lamps? if so, try mesh lighting, usually helps!

---

<div class="post-metadata">

**Author:** ![hotzst](https://blenderartists.org/user_avatar/blenderartists.org/hotzst/32/17427_2.png) [@hotzst](https://blenderartists.org/u/hotzst)\
**Post date:** [April 28, 2012, 5:03am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/12 "2012-04-28T05:03:51Z")

</div>

The model can be [downloaded](http://sahits.ch/download/Schnigge.zip) as a zip archive. I intend to publish it under CC-BY-SA over at BlendSwap when it is finished.  
I checked out my idea with the two rendered images with different seeds. The fireflies do not appear at the same spots.  
I further checked out the Cycles documentation at the [wiki](http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Integrator). There seem to be some settings (‘No Caustics’, ‘Clamp Samples’) which might also prove helpful.  
Besides a sky texture I use a simple plane mesh at a large distance with high intensity to simulate the sun (sharp shadows).

---

<div class="post-metadata">

**Author:** ![Amadeo\_Comp](https://blenderartists.org/user_avatar/blenderartists.org/amadeo_comp/32/20858_2.png) [@Amadeo\_Comp](https://blenderartists.org/u/Amadeo_Comp)\
**Post date:** [April 28, 2012, 11:46am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/13 "2012-04-28T11:46:13Z")

</div>

> [@hotzst](#):
>
> The model can be [downloaded](http://sahits.ch/download/Schnigge.zip) as a zip archive. I intend to publish it under CC-BY-SA over at BlendSwap when it is finished.  
> I checked out my idea with the two rendered images with different seeds. The fireflies do not appear at the same spots.  
> I further checked out the Cycles documentation at the [wiki](http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Integrator). There seem to be some settings (‘No Caustics’, ‘Clamp Samples’) which might also prove helpful.  
> Besides a sky texture I use a simple plane mesh at a large distance with high intensity to simulate the sun (sharp shadows).

Dear hotzst,

I checked out your file and the solution is quite simple: The fireflie you get in your scene are not the same ones i talked about. If you uncheck caustics, none of them appear. The problem with caustics is, that cycles handles them horribly at the moment. There are actually two tracker types that would solve the issue i believe, but they have yet to be implemented. Right now i’m rendering your scene WITH caustics on my gtx 590, until the caustics will look good ( probably over night), because i really want to see if they improve at all 😉 Also keep i mind that sometimes glossy/glass can give you issues, doesnt seem to be the case here though!

---

<div class="post-metadata">

**Author:** ![Amadeo\_Comp](https://blenderartists.org/user_avatar/blenderartists.org/amadeo_comp/32/20858_2.png) [@Amadeo\_Comp](https://blenderartists.org/u/Amadeo_Comp)\
**Post date:** [April 28, 2012, 12:01pm UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/14 "2012-04-28T12:01:35Z")

</div>

Dear hotzst,

after 10000 samples i noticed that this doesn’t lead to anything ^^ so heres the result. you can see that those weren’t fireflies. only the two remaining white dots are fireflies, and they can be removed as shown above!

 ![](https://blenderartists.org/uploads/default/original/3X/a/4/a467ecc584e6aa7aa9390eee7f48eac817a9948d.jpg)

---

<div class="post-metadata">

**Author:** ![hotzst](https://blenderartists.org/user_avatar/blenderartists.org/hotzst/32/17427_2.png) [@hotzst](https://blenderartists.org/u/hotzst)\
**Post date:** [April 28, 2012, 1:12pm UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/15 "2012-04-28T13:12:51Z")

</div>

I figured out another way to get rid of them: Setting the clamp to about 1 gets rid of them. Values lower than 1 do not work that good. With a value of one the render loses a bit of its brightness, witch is acceptable in this case and adds some more noise, so I need a few more passes. The higher the value the higher the resulting noise and the higher the light absorption.  
I will have to try to render without clamp.

---

<div class="post-metadata">

**Author:** ![hotzst](https://blenderartists.org/user_avatar/blenderartists.org/hotzst/32/17427_2.png) [@hotzst](https://blenderartists.org/u/hotzst)\
**Post date:** [April 28, 2012, 11:57pm UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/16 "2012-04-28T23:57:54Z")

</div>

As you suggested, the “No caustic” is another option. The quality is about the same as with a clamp of 1, but without the reduction of lighting. So I will go with that option

---

<div class="post-metadata">

**Author:** ![JohnSmithDog](https://blenderartists.org/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@JohnSmithDog](https://blenderartists.org/u/JohnSmithDog)\
**Post date:** [April 29, 2012, 12:19am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/17 "2012-04-29T00:19:57Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![Amadeo\_Comp](https://blenderartists.org/user_avatar/blenderartists.org/amadeo_comp/32/20858_2.png) [@Amadeo\_Comp](https://blenderartists.org/u/Amadeo_Comp)\
**Post date:** [April 29, 2012, 3:27am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/18 "2012-04-29T03:27:13Z")

</div>

> [@JohnSmithDog](#):
>
> Thank you!

You’re welcome 😉

---

<div class="post-metadata">

**Author:** ![elaser](https://blenderartists.org/user_avatar/blenderartists.org/elaser/32/19996_2.png) [@elaser](https://blenderartists.org/u/elaser)\
**Post date:** [August 3, 2012, 5:26pm UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/19 "2012-08-03T17:26:54Z")

</div>

I’ve followed the video and yes the translate option is by far the better even if in 2.63.14 I did not had to make all nasty trick with invert/rgb curve I think they fixed up things.  
My node setup is much simpler

 ![](https://blenderartists.org/uploads/default/original/3X/6/a/6aa888f5f2394416cee80a876e4c4b74514f0d6c.jpeg)

---

<div class="post-metadata">

**Author:** ![vklidu](https://blenderartists.org/user_avatar/blenderartists.org/vklidu/32/4040_2.png) [@vklidu](https://blenderartists.org/u/vklidu)\
**Post date:** [August 6, 2012, 7:05am UTC](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320/20 "2012-08-06T07:05:46Z")

</div>

@Amadeo: Sorry, I had no time to see the Amadeo’s video, yet (I hope evening I get to it). So this note is just note about one really easy way . . .

@elaser: I’m using almost the same setup for quite a long time. Just Laplace Filter is separator. Instead of replacing translation node Fast Gauss Blur works for me too.

![http://blender.howto.cz/blender-links/Fireflies/NODE-FireFlies-nodes.jpg](http://blender.howto.cz/blender-links/Fireflies/NODE-FireFlies-nodes.jpg)

Anim GIF (link to FullRess [http://blender.howto.cz/blender-links/Fireflies/NODE-FireFlies-result.gif](http://blender.howto.cz/blender-links/Fireflies/NODE-FireFlies-result.gif) )  
 ![http://blender.howto.cz/blender-links/Fireflies/NODE-FireFlies-result.gif](http://blender.howto.cz/blender-links/Fireflies/NODE-FireFlies-result.gif)

Blend  
[NODE-FireFlies (NoiseReduction).blend](https://blenderartists.org/uploads/default/original/3X/7/0/70cf8e7e8cfa55ac73378a9a28d80ec10ebd9a68.blend) (336 KB)

[Next page](https://blenderartists.org/t/blender-tutorial-how-to-deal-with-fireflies-and-blackpixels-automatically-cycles/538320.md?page=2)
