EEVEE next halo on motion blurred out of focus objects #126415

Closed
opened 2024-08-16 20:10:07 +02:00 by HF · 4 comments

System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 555.85

Blender Version
Broken: version: 4.2.0, branch: blender-v4.2-release, commit date: 2024-07-16 06:20, hash: a51f293548ad
Worked: 4.1

Short description of error
dark halo on fast moving object with motion blur and DOF

Exact steps for others to reproduce the error
With EEVEE:

  1. Animate a fast moving object on a constrasty background (E.g. A dark object on a brighter background)
  2. Set up the camera with DOF configured to make that fast moving object out of focus.
  3. Enable motion blur in the EEVEE render settings.
  4. Render the scene and notice the halo around the object.

Here is a file with steps 1-3 done for you: https://projects.blender.org/attachments/8bcfe097-f498-4983-9143-ba5e52959e7e

**System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 555.85 **Blender Version** Broken: version: 4.2.0, branch: blender-v4.2-release, commit date: 2024-07-16 06:20, hash: `a51f293548ad` Worked: 4.1 **Short description of error** dark halo on fast moving object with motion blur and DOF **Exact steps for others to reproduce the error** With EEVEE: 1. Animate a fast moving object on a constrasty background (E.g. A dark object on a brighter background) 2. Set up the camera with DOF configured to make that fast moving object out of focus. 3. Enable motion blur in the EEVEE render settings. 4. Render the scene and notice the halo around the object. Here is a file with steps 1-3 done for you: https://projects.blender.org/attachments/8bcfe097-f498-4983-9143-ba5e52959e7e
HF added the
Severity
Normal
Type
Bug
Status
Needs Triage
labels 2024-08-16 20:10:08 +02:00
Member

I am personally unable to reproduce this issue. Can you share a file that has this issue with us? Or more detailed steps on how to recreate this issue?

I am personally unable to reproduce this issue. Can you share a file that has this issue with us? Or more detailed steps on how to recreate this issue?
Alaska added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-08-17 05:39:42 +02:00

It only visible when DoF is also enabled. From my experiment, increasing motion blur steps reduce this artifact. Engine's limitation?

It only visible when DoF is also enabled. From my experiment, increasing motion blur steps reduce this artifact. Engine's limitation?
Member

Thanks for the file and extra details. I can confirm the issue with the attached file, but this is might be expected/a limitation. Although the issue isn't present in 4.1. So I will confirm the issue and mark as high severtiy as it's a regression, but leave it to the developers to properly decide on it.

I say this might be expected because DOF and motion blur are post processing techniques and they seem to interect with each other in a way that creates a dark halo in this situation.

You can reduce the visibility of this issue by using higher quality settings. These are:

  • Jittered DOF instead of post process DOF
    • This can be enabled in Render Properties -> Depth of field -> Jitter Camera
  • And increase the motion blur steps.

For the scene provided the issue can be mostly elimitated with Jittered camera DOF and 2+ motion blur steps.

Thanks for the file and extra details. I can confirm the issue with the attached file, but this is might be expected/a limitation. Although the issue isn't present in 4.1. So I will confirm the issue and mark as high severtiy as it's a regression, but leave it to the developers to properly decide on it. I say this might be expected because DOF and motion blur are post processing techniques and they seem to interect with each other in a way that creates a dark halo in this situation. You can reduce the visibility of this issue by using higher quality settings. These are: - Jittered DOF instead of post process DOF - This can be enabled in `Render Properties -> Depth of field -> Jitter Camera` - And increase the motion blur steps. For the scene provided the issue can be mostly elimitated with Jittered camera DOF and 2+ motion blur steps.
Alaska changed title from eevee next motion blur dark halo to EEVEE next halo on motion blurred out of focus objects 2024-08-17 06:30:05 +02:00

So turns out I inverted DoF and motion blur effect passes compared to EEVEE legacy. I must have had some reason for that but I forgot.

Any of the 2 order is incorrect anyway. The correct way would be to compute them in a single gather pass, but that would be too slow for EEVEE. So we have to go with the one that produce the less displeasing artifacts.

I was contemplating adding an option but that doesn't seems to be necessary as I cannot see a case where the current behavior is better. So I will revert back the order to the old one.

We should not backport this to 4.2 as it would change the look too much. However, if there is general consensus that the 4.1 behavior is the best we will consider a backport.

So turns out I inverted DoF and motion blur effect passes compared to EEVEE legacy. I must have had some reason for that but I forgot. Any of the 2 order is incorrect anyway. The correct way would be to compute them in a single gather pass, but that would be too slow for EEVEE. So we have to go with the one that produce the less displeasing artifacts. I was contemplating adding an option but that doesn't seems to be necessary as I cannot see a case where the current behavior is better. So I will revert back the order to the old one. We should not backport this to 4.2 as it would change the look too much. However, if there is general consensus that the 4.1 behavior is the best we will consider a backport.
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-11-05 15:08:35 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
4 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#126415
No description provided.