Different roughness values for default and new material #96247

Closed
opened 2022-03-08 22:32:26 +01:00 by tamooz br · 12 comments

Blender Version
Broken: ac90c8a774
Worked: any older version

Short description of error
In this commit, the roughness on the default objects is at 0.4, while the default roughness for the Principled BSDF shader is 0.5.
This might've been caused by the default roughness for the viewport (workbench) being changed from 0.4 to 0.5.

Exact steps for others to reproduce the error

  • Load the default startup file,
  • Add new material (same for newly added Principled BSDF node)
  • Compare roughness value for default (0.4f) and recently added material (0.5f)
**Blender Version** Broken: ac90c8a7743f Worked: any older version **Short description of error** In this commit, the roughness on the default objects is at 0.4, while the default roughness for the Principled BSDF shader is 0.5. This might've been caused by the default roughness for the viewport (workbench) being changed from 0.4 to 0.5. **Exact steps for others to reproduce the error** - Load the default startup file, - Add new material (same for newly added Principled BSDF node) - Compare roughness value for default (0.4f) and recently added material (0.5f)
Author

Added subscriber: @Koopa512

Added subscriber: @Koopa512
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Hi, thanks for the report. If I understand correctly, this report is about different roughness value for default material(0.4f) and Principled BSDF node (0.5f)
Not a high priority bug though. It's been there for a quite long time (2.83.17 also has this issue)
Will make some edits in report before confirming.

Hi, thanks for the report. If I understand correctly, this report is about different roughness value for default material(0.4f) and Principled BSDF node (0.5f) Not a high priority bug though. It's been there for a quite long time (2.83.17 also has this issue) Will make some edits in report before confirming.
Pratik Borhade changed title from Default Cube and scuplting sphere roughness at 0.4 even though default principled bsdf is at 0.5 to Different roughness values for default and new material 2022-03-09 05:19:45 +01:00
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Max Edge self-assigned this 2022-05-30 08:49:42 +02:00

@PratikPB2123 This task refers to the roughness of the material of the default cube in the startup scene and the sphere in the sculpting template scene, which is 0.4 vs the 0.5 of the material added when clicking the New button on empty material slots in the materials tab. Additionally, the clipping threshold for the materials in those two scenes is 0.0 vs 0.5 for new materials.

Since I am new to blender dev, I am not sure how to proceed here. These scene files are not source code, but rather .blend files that are copy pasted into the final product. Thus, a .diff file will not suffice.

@PratikPB2123 This task refers to the roughness of the material of the default cube in the startup scene and the sphere in the sculpting template scene, which is 0.4 vs the 0.5 of the material added when clicking the New button on empty material slots in the materials tab. Additionally, the clipping threshold for the materials in those two scenes is 0.0 vs 0.5 for new materials. Since I am new to blender dev, I am not sure how to proceed here. These scene files are not source code, but rather .blend files that are copy pasted into the final product. Thus, a .diff file will not suffice.

Added subscriber: @tsjordan

Added subscriber: @tsjordan

Is this as simple as opening release/datafiles/startup.blend with blender, changing the roughness to .5, then saving it? It looks like it was last saved in blender 3.0.0 in commit b646846646 in November, 2021. It's probably good to heed the advice in the commit:

commit b646846646c2adfe38a585f024f34ff388e221b8
Author: Hans Goudey <h.goudey@me.com>
Date:   Thu Nov 4 10:10:02 2021 -0500

    Fix T92812: Startup has "Standard" View Transform Instead of "Filmic"

    A repeat of the problem I caused last time I edited the startup file.
    Never do it with a lite build! Also align the toolbar widths in all
    editors to the smallest size they snap to.
Is this as simple as opening `release/datafiles/startup.blend` with blender, changing the roughness to .5, then saving it? It looks like it was last saved in blender 3.0.0 in commit b646846646c2 in November, 2021. It's probably good to heed the advice in the commit: ``` commit b646846646c2adfe38a585f024f34ff388e221b8 Author: Hans Goudey <h.goudey@me.com> Date: Thu Nov 4 10:10:02 2021 -0500 Fix T92812: Startup has "Standard" View Transform Instead of "Filmic" A repeat of the problem I caused last time I edited the startup file. Never do it with a lite build! Also align the toolbar widths in all editors to the smallest size they snap to. ```

In #96247#1366982, @tsjordan wrote:
Is this as simple as opening release/datafiles/startup.blend with blender, changing the roughness to .5, then saving it?

Yes.

> In #96247#1366982, @tsjordan wrote: > Is this as simple as opening `release/datafiles/startup.blend` with blender, changing the roughness to .5, then saving it? Yes.

Added subscriber: @liudeyuan

Added subscriber: @liudeyuan

We need to change default roughness from 0.4 to 0.5, or change new material roughness from 0.5 to 0.4?

If the former is true, we need to change default roughness via code, or we can change default roughness via edit startup.blend?

We need to change default roughness from 0.4 to 0.5, or change new material roughness from 0.5 to 0.4? If the former is true, we need to change default roughness via code, or we can change default roughness via edit startup.blend?

This issue was referenced by 411b4ed6ed

This issue was referenced by 411b4ed6ed8f48794e20f5ee3209e4e8f7f3ced9

Changed status from 'Confirmed' to: 'Resolved'

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