Baking roughness affected by base color (Principled BSDF) #117081

Closed
opened 2024-01-13 04:44:31 +01:00 by Georg K · 2 comments

System Information
Operating system: Linux-6.6.8-2-MANJARO-x86_64-with-glibc2.38 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 545.29.06

Blender Version
Broken: 4.0.0, 4.0.2 and version: 4.1.0 Alpha, branch: main, commit date: 2024-01-12 15:34, hash: 17b32e1d0d71
Worked: 3.6.2, 3.6.7 LTS
Since Blender 4, baking the roughness of the Principled BSDF is affected by the base color. Now, roughness is baked correctly only if the base color is set to black. This also breaks baking addons. Tested with --factory-startup.

Exact steps for others to reproduce the error

  • In the default scene, switch to Material nodes editor
  • in the Principled BSDF, set roughness to 1.0 (so baking the roughness value should return a fully white image)
  • leave the base color as is (defaults to .8)
  • add a texture node and create an image texture
  • in the properties editor switch to Cycles, go to Bake settings, switch bake type to roughness
  • click Bake
  • check the result: the texture is grey with a value of .296 instead of white with a value of 1.0 like it was in Blender 3.6.7
**System Information** Operating system: Linux-6.6.8-2-MANJARO-x86_64-with-glibc2.38 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 545.29.06 **Blender Version** Broken: 4.0.0, 4.0.2 and version: 4.1.0 Alpha, branch: main, commit date: 2024-01-12 15:34, hash: `17b32e1d0d71` Worked: 3.6.2, 3.6.7 LTS Since Blender 4, baking the roughness of the Principled BSDF is affected by the base color. Now, roughness is baked correctly only if the base color is set to black. This also breaks baking addons. Tested with --factory-startup. **Exact steps for others to reproduce the error** - In the default scene, switch to Material nodes editor - in the Principled BSDF, set roughness to 1.0 (so baking the roughness value should return a fully white image) - leave the base color as is (defaults to .8) - add a texture node and create an image texture - in the properties editor switch to Cycles, go to Bake settings, switch bake type to roughness - click Bake - check the result: the texture is grey with a value of .296 instead of white with a value of 1.0 like it was in Blender 3.6.7
Georg K added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-01-13 04:44:32 +01:00

Confirmed. This seems to have happened sometime between 2023-07-28 22206a159282 and 2023-08-15 5741a5d433cd.

Attached is a simple file, ready for a small and fast bake.

Confirmed. This seems to have happened sometime between 2023-07-28 `22206a159282` and 2023-08-15 `5741a5d433cd`. Attached is a simple file, ready for a small and fast bake.
888 KiB
Jesse Yurkovich added
Module
Render & Cycles
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-01-13 06:13:33 +01:00
Jesse Yurkovich added
Priority
High
and removed
Priority
Normal
labels 2024-01-13 06:15:09 +01:00

@LukasStockner, can you check?

@LukasStockner, can you check?
Lukas Stockner self-assigned this 2024-01-22 03:04:43 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-01-23 01:22:12 +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
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#117081
No description provided.