White outline artifacts with volumetrics in the "Diffuse Indirect" for "Metallic" or "Transmission" of 1.0. #100682

Closed
opened 2022-08-29 08:45:15 +02:00 by Eric Klein · 12 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94

Blender Version
Broken: version: 3.3.0 Beta, branch: master, commit date: 2022-08-26 18:34, hash: e040aea7bf
Worked: Bug has existed since 3.0.

Short description of error
White outline artifacts appear when volumetrics is enabled in the "Diffuse Indirect". It caused when the object PBR material "Metallic" or Transmission is set 1.0 changing it to 0.999 removes the white outline, but still slightly visible when merging all the light layers in the compositor. No problem in blender 2.93.

It is related to the Halo bug https://developer.blender.org/T94698. It has new test file and steps with new information on this bug to hopefully help developers solved it.

Exact steps for others to reproduce the error

  1. Use Blender 3.3 beta.
  2. Use the "CornellBox_Volumetric" attach blend file.
  3. Do F12 render.
  4. Check the "Diffuse Indirect" pass.
  5. There is white outline artifact in sphere.
  6. In the outliner turn off the "Volume" object for rendering.
  7. Notice no white outline artifact in sphere for "Diffuse Indirect" pass.
  8. In the outliner turn on the "Volume" object for rendering.
  9. In the sphere material change transmission to 0.999.
  10. Do F12 render.
  11. Notice no white outline artifact in sphere for "Diffuse Indirect" pass.
  12. By changing the PBR material for the sphere to "Metallic" 1.0 and turn "Transmission" to 0.0. The same white outline appears in the "Diffuse Indirect" pass.
  13. Use Blender 2.93.x.
  14. Do F12 render and make sure "Volume" object is enabled.
  15. Notice no white outline artifact in the sphere.
  16. Done.
    CornellBox_Volumetric.blend

White outline artifacts Blender 3.3 with volumetrics enable for the "Diffuse Indirect" pass with PBR material "Metallic" or "Transmission" value of 1.0:
Cornell_Volumetric_Diffuse_Ind_330.jpg

No white outline artifacts Blender 3.3 with volumetrics disable for the "Diffuse Indirect" pass with PBR material "Metallic" or "Transmission" value of 1.0:
Cornell_Diffuse_Ind_330.jpg

White flat sphere in Blender 3.3 with volumetrics enable for the "Diffuse Indirect" pass with PBR material "Metallic" or "Transmission" value of 0.999:
Cornell_Volumetric_999_Diffuse_Ind_330.jpg

No white outline artifacts Blender 2.93 with volumetrics enable for the "Diffuse Indirect" pass with PBR material "Metallic" or "Transmission" value of 1.0:
Cornell_Volumetric_Diffuse_Ind_293.jpg

White rounded sphere in Blender 2.93 with volumetrics enable for the "Diffuse Indirect" pass with PBR material "Metallic" or "Transmission" value of 0.999:
Cornell_Volumetric_999_Diffuse_Ind_293.jpg

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94 **Blender Version** Broken: version: 3.3.0 Beta, branch: master, commit date: 2022-08-26 18:34, hash: `e040aea7bf` Worked: Bug has existed since 3.0. **Short description of error** White outline artifacts appear when volumetrics is enabled in the "Diffuse Indirect". It caused when the object PBR material "Metallic" or Transmission is set 1.0 changing it to 0.999 removes the white outline, but still slightly visible when merging all the light layers in the compositor. No problem in blender 2.93. It is related to the Halo bug https://developer.blender.org/T94698. It has new test file and steps with new information on this bug to hopefully help developers solved it. **Exact steps for others to reproduce the error** 1. Use Blender 3.3 beta. 2. Use the "CornellBox_Volumetric" attach blend file. 3. Do F12 render. 4. Check the "Diffuse Indirect" pass. 5. There is white outline artifact in sphere. 6. In the outliner turn off the "Volume" object for rendering. 7. Notice no white outline artifact in sphere for "Diffuse Indirect" pass. 8. In the outliner turn on the "Volume" object for rendering. 9. In the sphere material change transmission to 0.999. 10. Do F12 render. 11. Notice no white outline artifact in sphere for "Diffuse Indirect" pass. 12. By changing the PBR material for the sphere to "Metallic" 1.0 and turn "Transmission" to 0.0. The same white outline appears in the "Diffuse Indirect" pass. 13. Use Blender 2.93.x. 14. Do F12 render and make sure "Volume" object is enabled. 15. Notice no white outline artifact in the sphere. 16. Done. [CornellBox_Volumetric.blend](https://archive.blender.org/developer/F13429166/CornellBox_Volumetric.blend) White outline artifacts Blender 3.3 with volumetrics enable for the "Diffuse Indirect" pass with PBR material "Metallic" or "Transmission" value of 1.0: ![Cornell_Volumetric_Diffuse_Ind_330.jpg](https://archive.blender.org/developer/F13429178/Cornell_Volumetric_Diffuse_Ind_330.jpg) No white outline artifacts Blender 3.3 with volumetrics disable for the "Diffuse Indirect" pass with PBR material "Metallic" or "Transmission" value of 1.0: ![Cornell_Diffuse_Ind_330.jpg](https://archive.blender.org/developer/F13429184/Cornell_Diffuse_Ind_330.jpg) White flat sphere in Blender 3.3 with volumetrics enable for the "Diffuse Indirect" pass with PBR material "Metallic" or "Transmission" value of 0.999: ![Cornell_Volumetric_999_Diffuse_Ind_330.jpg](https://archive.blender.org/developer/F13429192/Cornell_Volumetric_999_Diffuse_Ind_330.jpg) No white outline artifacts Blender 2.93 with volumetrics enable for the "Diffuse Indirect" pass with PBR material "Metallic" or "Transmission" value of 1.0: ![Cornell_Volumetric_Diffuse_Ind_293.jpg](https://archive.blender.org/developer/F13429200/Cornell_Volumetric_Diffuse_Ind_293.jpg) White rounded sphere in Blender 2.93 with volumetrics enable for the "Diffuse Indirect" pass with PBR material "Metallic" or "Transmission" value of 0.999: ![Cornell_Volumetric_999_Diffuse_Ind_293.jpg](https://archive.blender.org/developer/F13429208/Cornell_Volumetric_999_Diffuse_Ind_293.jpg)
Author

Added subscriber: @eklein

Added subscriber: @eklein
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Is this the same as #94698 but with a new simplified test files and details?

Is this the same as #94698 but with a new simplified test files and details?
Author

The #94698 did show that having a material "Metallic" or "Transmission" of 1.0 with volumetrics is the main cause of the white outlines in the "Diffuse Indirect" pass, so a new test file, steps and details where necessary to show this issue.

The #94698 did show that having a material "Metallic" or "Transmission" of 1.0 with volumetrics is the main cause of the white outlines in the "Diffuse Indirect" pass, so a new test file, steps and details where necessary to show this issue.

Added subscriber: @brecht

Added subscriber: @brecht

@eklein since you're developing and selling a version of cycles, have you considered looking into this bug and contributing back?

@eklein since you're developing and selling a version of cycles, have you considered looking into this bug and contributing back?
Member

In that case, you should update #94698 instead. Just edit the report with those new details and sample files. I will merge to that report.

In that case, you should update #94698 instead. Just edit the report with those new details and sample files. I will merge to that report.
Member

Closed as duplicate of #94698

Closed as duplicate of #94698
Author

Brecht,

I did try fix this bug and that is why I discover that "Metallic" or 'Transmission" having a value 1.0 was causing the white outlines. The Cycles material and shading system is not an area I am familiar with, so I reported to help narrow down the causes.

Omar,
Do you mean delete all the steps from the #94698 and replace with the new file, images and steps or added to the end?

Brecht, I did try fix this bug and that is why I discover that "Metallic" or 'Transmission" having a value 1.0 was causing the white outlines. The Cycles material and shading system is not an area I am familiar with, so I reported to help narrow down the causes. Omar, Do you mean delete all the steps from the #94698 and replace with the new file, images and steps or added to the end?

In #100682#1409727, @eklein wrote:
I did try fix this bug and that is why I discover that "Metallic" or 'Transmission" having a value 1.0 was causing the white outlines. The Cycles material and shading system is not an area I am familiar with, so I reported to help narrow down the causes.

Well yes, getting familiar with it would be part of the effort. Otherwise that's a reason to never contribute anything back.

> In #100682#1409727, @eklein wrote: > I did try fix this bug and that is why I discover that "Metallic" or 'Transmission" having a value 1.0 was causing the white outlines. The Cycles material and shading system is not an area I am familiar with, so I reported to help narrow down the causes. Well yes, getting familiar with it would be part of the effort. Otherwise that's a reason to never contribute anything back.
Member

@eklein If the new information in this report is more specific, just replace it, if it adds new information, just append it at the end of the report.

@eklein If the new information in this report is more specific, just replace it, if it adds new information, just append it at the end of the report.
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
3 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#100682
No description provided.