Blender 2.79 to 2.80 material edit breaks material #64069

Closed
opened 2019-05-01 21:29:45 +02:00 by Zak Tab · 10 comments

System Information
Operating system: Ubuntu 16.04
Graphics card: MSI 1080Ti

Blender Version
Broken: 2.80, 75f551faca, master, 2019-04-07
Worked: 2.79

Short description of error
The modifications to the material shader nodemap break the texture.
When the nodes are saved in 2.79, and opened in 2.80, before displacement outputs, we prepend a displacement node. This causes our texture to go all black or all white.

Exact steps for others to reproduce the error
Download MAT_test.blend, created on blender 2.79. Look at the custom bump map being used in the material called: Changed. Save this file.
Open the file in Blender 2.80 and look at the material in Rendered or LookDev.
The material has changed from its original color (teal) to black.

Note: This modification to the material node-tree does not occur if the Cube object in MAT_test.blend is appended to a new file in Blender 2.80.

Note: MAT_test.blend is saved in 2.79, MAT_test_new.blend is saved in 2.80, and is the expected outcome of the above steps.

MAT_test.blend

MAT_test_new.blend

**System Information** Operating system: Ubuntu 16.04 Graphics card: MSI 1080Ti **Blender Version** Broken: 2.80, 75f551facaf0, master, 2019-04-07 Worked: 2.79 **Short description of error** The modifications to the material shader nodemap break the texture. When the nodes are saved in 2.79, and opened in 2.80, before displacement outputs, we prepend a displacement node. This causes our texture to go all black or all white. **Exact steps for others to reproduce the error** Download `MAT_test.blend`, created on blender 2.79. Look at the custom bump map being used in the material called: `Changed`. Save this file. Open the file in `Blender 2.80` and look at the material in `Rendered` or `LookDev`. The material has changed from its original color (teal) to black. Note: This modification to the material node-tree does not occur if the Cube object in `MAT_test.blend` is appended to a new file in `Blender 2.80`. Note: `MAT_test.blend` is saved in `2.79`, `MAT_test_new.blend` is saved in `2.80`, and is the expected outcome of the above steps. [MAT_test.blend](https://archive.blender.org/developer/F6999523/MAT_test.blend) [MAT_test_new.blend](https://archive.blender.org/developer/F6999524/MAT_test_new.blend)
Author

Added subscriber: @zakleap

Added subscriber: @zakleap

Added subscriber: @ZedDB

Added subscriber: @ZedDB

I can not reproduce this on my end. The 2.79 file is teal in rendered mode in both 2.79 and the latest 2.8 build for me.

I can not reproduce this on my end. The 2.79 file is teal in rendered mode in both 2.79 and the latest 2.8 build for me.
Author

@ZedDB I can confirm that in the latest version, the issue remains --> hash 480a09a92f7f.
You may have been looking at the rendered version through cycles. Eevee rendered view or LookDev show an all black cube.
The teal color comes back if the added Displacement node is bypassed.
I am happy to supply any more information.

@ZedDB I can confirm that in the latest version, the issue remains --> hash `480a09a92f7f`. You may have been looking at the rendered version through cycles. `Eevee` rendered view or `LookDev` show an all black cube. The teal color comes back if the added `Displacement` node is bypassed. I am happy to supply any more information.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sebastian Parborg self-assigned this 2019-05-02 17:24:02 +02:00

Eevee/Lookdev does not support displacement/vector displacement.

Eevee/Lookdev does not support displacement/vector displacement.
Author

@ZedDB In that case, should the displacement node be automatically added during conversion? If it's not supported, wouldn't it be better to add the displacement node only to the cycles material output and not to the eevee?

@ZedDB In that case, should the displacement node be automatically added during conversion? If it's not supported, wouldn't it be better to add the displacement node only to the cycles material output and not to the eevee?

There are no separate materials anymore in 2.8. Eevee and cycles both uses the same.

There are no separate materials anymore in 2.8. Eevee and cycles both uses the same.
Author

@ZedDB Material Output still supports rendering engine specific outputs.

nodes['Material Output'].target

If the displacement node is not supported for Eevee, the automated modifier should instead create two Material Output nodes, one for Cycles and one for Eevee and connect the displacement node to the Cycles - Material Output node and not to the Eevee - Material Output node. It doesn't make sense to introduce unsupported nodes to the Eevee shader if we don't need to.

@ZedDB `Material Output` still supports rendering engine specific outputs. ``` nodes['Material Output'].target ``` If the displacement node is not supported for `Eevee`, the automated modifier should instead create two `Material Output` nodes, one for `Cycles` and one for `Eevee` and connect the displacement node to the `Cycles - Material Output` node and not to the `Eevee - Material Output` node. It doesn't make sense to introduce unsupported nodes to the Eevee shader if we don't need to.

There is no eevee backend in 2.79 and your file is using cycles. So if you want anything else to happen, then this is a feature request and should go to: https://blender.community/c/rightclickselect/

There is no eevee backend in 2.79 and your file is using cycles. So if you want anything else to happen, then this is a feature request and should go to: https://blender.community/c/rightclickselect/
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#64069
No description provided.