Principled BSDF material turns black in the viewport when Clearcoat is set to 1 and the Clearcoat Roughness is set to 0 #53217

Closed
opened 2017-11-01 02:55:14 +01:00 by Charbel Nicolas · 7 comments

System Information

Windows 7 SP1 (Fully Up-to-Date) with NVIDIA GTX 980 (Driver version: 387.92)

Blender Version

Broken: 2.79 5bd8ac9

Short description of error

When using the Principled BSDF and setting the Clearcoat to 1 and the Clearcoat Roughness to 0, the material turns black in the viewport (material shaded view).
clearcoatroughness.blend

Exact steps for others to reproduce the error

Add a Principled BSDF shader to any object, switch to the material shaded view in the viewport and set the Clearcoat to 1.0 and the Clearcoat Roughness to 0. It should turn black.

Please check the attached file.

**System Information** Windows 7 SP1 (Fully Up-to-Date) with NVIDIA GTX 980 (Driver version: 387.92) **Blender Version** Broken: 2.79 5bd8ac9 **Short description of error** When using the Principled BSDF and setting the Clearcoat to 1 and the Clearcoat Roughness to 0, the material turns black in the viewport (material shaded view). [clearcoatroughness.blend](https://archive.blender.org/developer/F1081371/clearcoatroughness.blend) **Exact steps for others to reproduce the error** Add a Principled BSDF shader to any object, switch to the material shaded view in the viewport and set the Clearcoat to 1.0 and the Clearcoat Roughness to 0. It should turn black. Please check the attached file.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @charbel

Added subscriber: @charbel

Added subscribers: @brecht, @Sergey

Added subscribers: @brecht, @Sergey
Brecht Van Lommel was assigned by Sergey Sharybin 2017-11-01 16:59:16 +01:00

@brecht, think it's matter of clipping roughness. But not fully familiar with code to check how to make it match behavior of Cycles kernel. Mind having a look? :)

@brecht, think it's matter of clipping roughness. But not fully familiar with code to check how to make it match behavior of Cycles kernel. Mind having a look? :)

This issue was referenced by 07dbff7dc1

This issue was referenced by 07dbff7dc1d5cfca9fbfb74204a2298e16d471b4

Fixed with a simple clamp. This code will be completely replaced in Blender 2.8 anyway.

Fixed with a simple clamp. This code will be completely replaced in Blender 2.8 anyway.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
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
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
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
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#53217
No description provided.