Eevee rendering "fireflies" #59784

Closed
opened 2018-12-23 06:51:11 +01:00 by Brendan · 31 comments

System Information
Operating system: Windows 10 64-bit
Graphics card: Geforce GTX 970

Blender Version
Blender 2.8
Date: 2018-12-22 00:52
Hash: dafaa6f228
Branch: blender2.7

Short description of error
I'm getting these white pixels/squares/rectangles in my Eevee renders. I've only ever seen it occur on top of particle hair and card-based hair with "hashed" transparency.

During an animation it will only happen on certain frames, and assuming nothing is changed will always appear on that frame when rendered.

The artifacts always seem to be either 1x1 pixel, 1x2 pixels, 2x2 pixels, or 6x8 pixels, and can be affected by depth of field, bloom and other effects probably. One of the frames I've rendered has a blurry white blob about 140x140 pixels.

Exact steps for others to reproduce the error
This is very frustrating because it's happening in a "production" file with many commercial assets so I can't upload the file. I also haven't been able to reproduce it in a simple file. I may be able to trim the file down if necessary.

eevee_firefly_no_dof.png

eevee_firefly_with_dof.png

**System Information** Operating system: Windows 10 64-bit Graphics card: Geforce GTX 970 **Blender Version** Blender 2.8 Date: 2018-12-22 00:52 Hash: dafaa6f22881 Branch: blender2.7 **Short description of error** I'm getting these white pixels/squares/rectangles in my Eevee renders. I've only ever seen it occur on top of particle hair and card-based hair with "hashed" transparency. During an animation it will only happen on certain frames, and assuming nothing is changed will always appear on that frame when rendered. The artifacts always seem to be either 1x1 pixel, 1x2 pixels, 2x2 pixels, or 6x8 pixels, and can be affected by depth of field, bloom and other effects probably. One of the frames I've rendered has a blurry white blob about 140x140 pixels. **Exact steps for others to reproduce the error** This is very frustrating because it's happening in a "production" file with many commercial assets so I can't upload the file. I also haven't been able to reproduce it in a simple file. I may be able to trim the file down if necessary. ![eevee_firefly_no_dof.png](https://archive.blender.org/developer/F6042031/eevee_firefly_no_dof.png) ![eevee_firefly_with_dof.png](https://archive.blender.org/developer/F6042037/eevee_firefly_with_dof.png)
Author

Added subscriber: @Whitewolf42

Added subscriber: @Whitewolf42

#61639 was marked as duplicate of this issue

#61639 was marked as duplicate of this issue

#61583 was marked as duplicate of this issue

#61583 was marked as duplicate of this issue

#61503 was marked as duplicate of this issue

#61503 was marked as duplicate of this issue

#60861 was marked as duplicate of this issue

#60861 was marked as duplicate of this issue

Added subscriber: @brhumphe

Added subscriber: @brhumphe

A sample file would be invaluable, even if it’s just the Suzanne head in those screenshots. Does increasing the samples affect it?

A sample file would be invaluable, even if it’s just the Suzanne head in those screenshots. Does increasing the samples affect it?
Author

I'll start trimming the file down so I can upload it.

Concerning sampling:
In this specific case the artifact only starts to appear at 94 render samples, and is still visible up to 2000 samples at least.

In another test with a production character it starts to appear at 19 frames.

I'll start trimming the file down so I can upload it. Concerning sampling: In this specific case the artifact only starts to appear at 94 render samples, and is still visible up to 2000 samples at least. In another test with a production character it starts to appear at 19 frames.
Author

I managed to reproduce the artifact in another file.

I currently have DoF enabled which will blow it up but it starts as a single pixel.

It probably happens on other frames but it first occurs on frame 3. It appears at 2 render samples.

Eevee_Firefly_Cleaned.blend

I managed to reproduce the artifact in another file. I currently have DoF enabled which will blow it up but it starts as a single pixel. It probably happens on other frames but it first occurs on frame 3. It appears at 2 render samples. [Eevee_Firefly_Cleaned.blend](https://archive.blender.org/developer/F6060748/Eevee_Firefly_Cleaned.blend)

Added subscriber: @MartinNebelong

Added subscriber: @MartinNebelong

I get the same thing in an Eevee render. As Brendan notices, it's worsened by dof and bloom. In my case it seems to be specular highlights..

image.png

image.png

Here's a link to the file: https://www.dropbox.com/s/yjs9q1oi95mqoqy/scenetest.blend?dl=0

It's a scene for a tutorial in 3d world magazine about VR sculpting.

I get the same thing in an Eevee render. As Brendan notices, it's worsened by dof and bloom. In my case it seems to be specular highlights.. ![image.png](https://archive.blender.org/developer/F6069420/image.png) ![image.png](https://archive.blender.org/developer/F6069426/image.png) Here's a link to the file: https://www.dropbox.com/s/yjs9q1oi95mqoqy/scenetest.blend?dl=0 It's a scene for a tutorial in 3d world magazine about VR sculpting.
It's even more noticeable here : https://www.dropbox.com/s/qhau1nssj517g5q/0001-0250.mp4?dl=0

Added subscriber: @spiegelball

Added subscriber: @spiegelball

I reproduced this under the following circumstances (file attached):

Two faces with an overlapping edge and an edge split modifier assigned. The object has an Principled BSDF shader in its material. No Fireflies. Now you add an normal map node (TANGENT SPACE) and connect it to the normal slot of the BSDF node. Fireflies appear on the overlapping edges. I figured out that the firefly comes from the sheen component in the BSDF shader:

https://developer.blender.org/diffusion/B/browse/master/source/blender/gpu/shaders/gpu_shader_material.glsl$1094

If you clamp this f value to a -1 to 1 range the fireflies disappear.

firefly.blend

I reproduced this under the following circumstances (file attached): Two faces with an overlapping edge and an edge split modifier assigned. The object has an Principled BSDF shader in its material. No Fireflies. Now you add an normal map node (TANGENT SPACE) and connect it to the normal slot of the BSDF node. Fireflies appear on the overlapping edges. I figured out that the firefly comes from the sheen component in the BSDF shader: https://developer.blender.org/diffusion/B/browse/master/source/blender/gpu/shaders/gpu_shader_material.glsl$1094 If you clamp this f value to a -1 to 1 range the fireflies disappear. [firefly.blend](https://archive.blender.org/developer/F6080351/firefly.blend)
Clément Foucault was assigned by Brecht Van Lommel 2018-12-27 11:57:52 +01:00

Added subscriber: @TSDigital

Added subscriber: @TSDigital

I've been having the same issue with architectural models exported from CAD software. A lot of CAD models are, shall we say, 'liberal' with their geometry - there are often a lot of overlapping edges. Where multiple edges overlap, I get fireflies (even with all shader values at default + no maps). Moving or collapsing the extra edges gets rid of the fireflies, but this is very time consuming to do with every problem surface.

I've been having the same issue with architectural models exported from CAD software. A lot of CAD models are, shall we say, 'liberal' with their geometry - there are often a lot of overlapping edges. Where multiple edges overlap, I get fireflies (even with all shader values at default + no maps). Moving or collapsing the extra edges gets rid of the fireflies, but this is very time consuming to do with every problem surface.

Here's a (temporary) fix for this issue: https://developer.blender.org/D4269.

Here's a (temporary) fix for this issue: https://developer.blender.org/D4269.

Added subscriber: @JTN

Added subscriber: @JTN

Added subscriber: @alonabrany

Added subscriber: @alonabrany

Added subscriber: @michael_jittery

Added subscriber: @michael_jittery

Added subscriber: @ohmyblender

Added subscriber: @ohmyblender

This issue was referenced by 253ff57617

This issue was referenced by 253ff57617a90537b334449ad992c7ef13f997ea

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Added subscriber: @hector.rojo.cg

Added subscriber: @hector.rojo.cg

Added subscriber: @EGGamer

Added subscriber: @EGGamer

This is happening to me right now. Using bloom and other effects make it worse. Is there a solution, even if it's temporary working right now? I'm using Blender 2.90.1 Escena20001-0120.mp4_-_Reproductor_multimedia_VLC_18-21-2020_HqEKHz.png

This is happening to me right now. Using bloom and other effects make it worse. Is there a solution, even if it's temporary working right now? I'm using Blender 2.90.1 ![Escena20001-0120.mp4_-_Reproductor_multimedia_VLC_18-21-2020_HqEKHz.png](https://archive.blender.org/developer/F9013444/Escena20001-0120.mp4_-_Reproductor_multimedia_VLC_18-21-2020_HqEKHz.png)

Added subscriber: @Macilvoy

Added subscriber: @Macilvoy

Im also got this problem
0108.png

Im also got this problem ![0108.png](https://archive.blender.org/developer/F9524383/0108.png)

Added subscriber: @joaulo

Added subscriber: @joaulo

Added subscriber: @OtherRealms

Added subscriber: @OtherRealms

{F9928062}issue.PNG Please re-open this issue. This is still happening in Blender 2.93a. The .blend contains a clean scene with 1 mesh, lights off. Hit render to get black with just a few white dots. Issue worsens with increased filter size.

{[F9928062](https://archive.blender.org/developer/F9928062/Eevee_Fireflies.blend)}![issue.PNG](https://archive.blender.org/developer/F9928040/issue.PNG) Please re-open this issue. This is still happening in Blender 2.93a. The .blend contains a clean scene with 1 mesh, lights off. Hit render to get black with just a few white dots. Issue worsens with increased filter size.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
13 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#59784
No description provided.