Material Ouptut selection broken #62351

Closed
opened 2019-03-08 11:29:37 +01:00 by Daniel Paul · 7 comments

System Information
Operating system: Win 10
Graphics card: GTX 1080 TI

Blender Version
2.80, 0ba143a1d6, 2019-03-08

When two Material Outputs per shader are used, blender doesn't change to the designated.
Rendering the right material output works but changing the shader refreshes only when related material output is selected.

For example:
One Output is set to eevee and the other is set to cycles.
Switching between cycles and eevee renderer loads the right tree.

When parameters from the cycles tree are changed while rendering in cycles,
there are no changes made when eevee material output is selected.

Possible fix: just select the designated material output automatically when the renderer is changed.

EEVEE_Cycles_Shader.blend

**System Information** Operating system: Win 10 Graphics card: GTX 1080 TI **Blender Version** 2.80, 0ba143a1d675, 2019-03-08 When two Material Outputs per shader are used, blender doesn't change to the designated. Rendering the right material output works but changing the shader refreshes only when related material output is selected. For example: One Output is set to eevee and the other is set to cycles. Switching between cycles and eevee renderer loads the right tree. When parameters from the cycles tree are changed while rendering in cycles, there are no changes made when eevee material output is selected. Possible fix: just select the designated material output automatically when the renderer is changed. [EEVEE_Cycles_Shader.blend](https://archive.blender.org/developer/F6783936/EEVEE_Cycles_Shader.blend)
Author

Added subscriber: @DanielPaul

Added subscriber: @DanielPaul
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Confirmed, checking...

Confirmed, checking...
Member

Seems like we are allowing a (shader) output node to become the current output (NODE_DO_OUTPUT) regardless of the target this node specifies.
Would suggest to check the current render engine and only allow the output node to be come the current output if it matches the target?

Had a go at the first steps in D4482, further discussion there...

Seems like we are allowing a (shader) output node to become the current output (`NODE_DO_OUTPUT`) regardless of the target this node specifies. Would suggest to check the current render engine and only allow the output node to be come the current output if it matches the target? Had a go at the first steps in [D4482](https://archive.blender.org/developer/D4482), further discussion there...
Member

will check on D4482 again

will check on [D4482](https://archive.blender.org/developer/D4482) again
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Philipp Oeser self-assigned this 2019-04-01 15:24:38 +02:00
Member

Actually, the issue seems resolved already...
So we now do get updates when rendering in cycles if eevee material output is selected, but changes are made in nodes that are connected to the 'designated' cycles output node...

[unsure why I didnt notice this, since the change must have been made around the time when this report was made...]
[to doublecheck I will git bisect when this started to work...]

EDIT: 89fa6a7a06 was the commit that made this work.

No need to workaround by actually selecting the designated output, cycles will pick up updates from the tree where the most appropriate output is connected.

To my understanding, we can close this one [@DanielPaul: make sure to comment again/reopen if issues persist...]

Actually, the issue seems resolved already... So we now do get updates when rendering in cycles if eevee material output is selected, but changes are made in nodes that are connected to the 'designated' cycles output node... [unsure why I didnt notice this, since the change must have been made around the time when this report was made...] [to doublecheck I will git bisect when this started to work...] EDIT: 89fa6a7a06 was the commit that made this work. No need to workaround by actually selecting the designated output, cycles will pick up updates from the tree where the most appropriate output is connected. To my understanding, we can close this one [@DanielPaul: make sure to comment again/reopen if issues persist...]
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#62351
No description provided.