Completely black Shading when roughness set to 0.003726621 or below, on EEVEE #89569

Closed
opened 2021-07-01 00:56:08 +02:00 by Juan Ignacio Gil-Hutton · 3 comments

System Information
Operating system: Windows 10 & Debian 10 KDE
Graphics card: Intel HD620 integrated graphics

Blender Version
Broken: 2.93; 2.93.1; 3.0.0 alpha
Worked: 2.92

Short description of error

  • This only happens on versions of blender from 2.93 onwards.
  • Any material where its final glossy roughness value is set between 0.0 and 0.003726621... is automatically shaded pure black, as if it had no shader at all.
  • Diffuse roughness works properly.
  • Viewport render view AND final render, on EEVEE, have the same problem

The following combinations cause a black material:
Captura de pantalla (114).png
The problem even bypasses the mix node

In the following video I set roughness to 0 and shader goes full black. I switch to Cycles and the problem disappears:

09flu1veih771.mp4

The value "0.003726621" is rounded by Blender to 0.004.
The value "0.003726621" was found adding half an nth for every new digit:
0.00372663 yields a correct behaviour of the shader
0.00372662 results in a shadeless, black, material; add 0.000000005 and try again.
This number goes on and on.

Exact steps for others to reproduce the error
Shadeless.blend

Default startup.
Use the default cube.
Apply any shader with a glossy roughness property.
Set glossy roughness to any value between 0 and 0.003726621.
This causes a shadeless material. Completely black.

The fact that I couldn't find any info about this bug at all on the internet tells me that my hardware is causing the problem. I did manage to find people with the same problem, but only a handful.
https://www.reddit.com/r/blender/comments/o7yeib/completely_black_shading_when_roughness_set_to_00/

**System Information** Operating system: Windows 10 & Debian 10 KDE Graphics card: Intel HD620 integrated graphics **Blender Version** Broken: 2.93; 2.93.1; 3.0.0 alpha Worked: 2.92 **Short description of error** - This only happens on versions of blender from 2.93 onwards. - Any material where its final **glossy roughness** value is set between 0.0 and 0.003726621... is automatically shaded pure black, as if it had no shader at all. - Diffuse roughness works properly. - Viewport render view AND final render, on EEVEE, have the same problem The following combinations cause a black material: ![Captura de pantalla (114).png](https://archive.blender.org/developer/F10207012/Captura_de_pantalla__114_.png) The problem even bypasses the mix node In the following video I set roughness to 0 and shader goes full black. I switch to Cycles and the problem disappears: [09flu1veih771.mp4](https://archive.blender.org/developer/F10207015/09flu1veih771.mp4) The value "0.003726621" is rounded by Blender to 0.004. The value "0.003726621" was found adding half an *nth* for every new digit: 0.00372663 yields a correct behaviour of the shader 0.00372662 results in a shadeless, black, material; add 0.000000005 and try again. This number goes on and on. **Exact steps for others to reproduce the error** [Shadeless.blend](https://archive.blender.org/developer/F10207032/Shadeless.blend) Default startup. Use the default cube. Apply any shader with a glossy roughness property. Set glossy roughness to any value between 0 and 0.003726621. This causes a shadeless material. Completely black. **The fact that I couldn't find any info about this bug at all on the internet tells me that my hardware is causing the problem. I did manage to find people with the same problem, but only a handful.** https://www.reddit.com/r/blender/comments/o7yeib/completely_black_shading_when_roughness_set_to_00/

Added subscriber: @jgilhutton

Added subscriber: @jgilhutton

I just realized this is a duplicate of
https://developer.blender.org/T88754
Couldn't manage to close it as duplicate myself.

I just realized this is a duplicate of https://developer.blender.org/T88754 Couldn't manage to close it as duplicate myself.
Member

Closed as duplicate of #88754

Closed as duplicate of #88754
Thomas Dinges added this to the 2.93 LTS milestone 2023-02-07 18:46:13 +01:00
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
2 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#89569
No description provided.