Objects with multiple materials are not displaying correctly - transparent faces #70106

Closed
opened 2019-09-20 10:56:59 +02:00 by Wayne Johnson · 32 comments

System Information
Operating system: Darwin-18.7.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon R9 M295X OpenGL Engine ATI Technologies Inc. 4.1 ATI-2.11.20

Blender Version
Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-19 20:35, hash: c8df6f2cf9
Worked: (optional)

Short description of error
[Objects with multiple materials are not displaying correctly - transparent faces

Exact steps for others to reproduce the error
Make a plane, subdivide a few times, unwrap, assign a material
Select some faces, add a new material, assign it to those faces
The second material now has lots of transparent faces?

Thanks
Wayne

**System Information** Operating system: Darwin-18.7.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon R9 M295X OpenGL Engine ATI Technologies Inc. 4.1 ATI-2.11.20 **Blender Version** Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-19 20:35, hash: `c8df6f2cf9` Worked: (optional) **Short description of error** [Objects with multiple materials are not displaying correctly - transparent faces **Exact steps for others to reproduce the error** Make a plane, subdivide a few times, unwrap, assign a material Select some faces, add a new material, assign it to those faces The second material now has lots of transparent faces? Thanks Wayne
Author

Added subscriber: @slowboy

Added subscriber: @slowboy

blender/blender-addons#70277 was marked as duplicate of this issue

blender/blender-addons#70277 was marked as duplicate of this issue

#70208 was marked as duplicate of this issue

#70208 was marked as duplicate of this issue

#70157 was marked as duplicate of this issue

#70157 was marked as duplicate of this issue
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Please upload a minimal example .blend file, so that we can reproduce the issue more easily.

Please upload a minimal example .blend file, so that we can reproduce the issue more easily.
Author

Screenshot 2019-09-20 at 11.35.00.png

Screenshot 2019-09-20 at 11.36.10.png

BadTransparentMultiMaterial.blend
One screenshot is the object in 2.8, red and green mats displaying fine. Second screenshot shows same file opened in 2.81, green is now transparent. Also, if you select some red faces and assign the green mat to them, random green faces will appear... I say 'random', but there does seem to be some method in the madness! Going back and forth between assign faces you will see that the same faces will change, so the wrongness is somehow organised?

![Screenshot 2019-09-20 at 11.35.00.png](https://archive.blender.org/developer/F7760615/Screenshot_2019-09-20_at_11.35.00.png) ![Screenshot 2019-09-20 at 11.36.10.png](https://archive.blender.org/developer/F7760614/Screenshot_2019-09-20_at_11.36.10.png) [BadTransparentMultiMaterial.blend](https://archive.blender.org/developer/F7760613/BadTransparentMultiMaterial.blend) One screenshot is the object in 2.8, red and green mats displaying fine. Second screenshot shows same file opened in 2.81, green is now transparent. Also, if you select some red faces and assign the green mat to them, random green faces will appear... I say 'random', but there does seem to be some method in the madness! Going back and forth between assign faces you will see that the same faces will change, so the wrongness is somehow organised?
Member

I cannot reproduce it here.

image.png

Do you have access to another compute to test the file there?

I cannot reproduce it here. ![image.png](https://archive.blender.org/developer/F7760655/image.png) Do you have access to another compute to test the file there?
Author

Will test on my Shadow PC - just need to get latest 2.81!....

Will test on my Shadow PC - just need to get latest 2.81!....
Author

...Seems fine - bug is not present on PC.
Bug has been present for last 2 Mac releases.

...Seems fine - bug is not present on PC. Bug has been present for last 2 Mac releases.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Might be related to {#68826}?

Might be related to {#68826}?

Added subscriber: @jerrsoundripper

Added subscriber: @jerrsoundripper

I confirm the bug is present on all my MacOsx with AMD RX580, Intel graphics or GTX980. Mojave and High Sierra.
Capture_d’écran_2019-09-19_à_10.18.59.png

I confirm the bug is present on all my MacOsx with AMD RX580, Intel graphics or GTX980. Mojave and High Sierra. ![Capture_d’écran_2019-09-19_à_10.18.59.png](https://archive.blender.org/developer/F7762096/Capture_d_e_cran_2019-09-19_a__10.18.59.png)

It worked with 2.81 alpha builds 3 or 4 days before.

It worked with 2.81 alpha builds 3 or 4 days before.

It works well on windows 10. It is Mac OS related bug

It works well on windows 10. It is Mac OS related bug

Added subscriber: @Robw

Added subscriber: @Robw

I have the same issue on macOS 10.14.6, AMD Radeon Pro 580X, both with the buildbot version (Blender 2.81.12, 21-sep, hash c71be416e0) and with a local compiled version (2.81.12, 22-sep, hash c71be416e0). The issue did not appear in versions before that.

An object with a single material shows fine, when adding a second material to the mesh, parts randomly become transparent or faces show a different material than assigned. The attached blend file has an object with multiple materials.

Cycles shows the issue in viewport, but renders as expected. Viewport render also works fine
Material issue Cycles.jpg

In Eevee, the random disappearance/material mismatch occurs in both viewport render and "F12" render.
Material issue Eevee.jpg

The blend file:
ZVW.blend

I have the same issue on macOS 10.14.6, AMD Radeon Pro 580X, both with the buildbot version (Blender 2.81.12, 21-sep, hash c71be416e09b) and with a local compiled version (2.81.12, 22-sep, hash c71be416e09b). The issue did not appear in versions before that. An object with a single material shows fine, when adding a second material to the mesh, parts randomly become transparent or faces show a different material than assigned. The attached blend file has an object with multiple materials. Cycles shows the issue in viewport, but renders as expected. Viewport render also works fine ![Material issue Cycles.jpg](https://archive.blender.org/developer/F7768439/Material_issue_Cycles.jpg) In Eevee, the random disappearance/material mismatch occurs in both viewport render and "F12" render. ![Material issue Eevee.jpg](https://archive.blender.org/developer/F7768440/Material_issue_Eevee.jpg) The blend file: [ZVW.blend](https://archive.blender.org/developer/F7768426/ZVW.blend)
Member

Added subscribers: @lileo, @dark999, @WayneDixon

Added subscribers: @lileo, @dark999, @WayneDixon

Added subscriber: @robbott

Added subscriber: @robbott

I can confirm this bug on OSX 10.13.6. I bisected the bug to commit 3a08153d7a .

In my opinion the bug is even visible in the workbench view in the form of two colors of the mesh. See screenshot below. In debug mode, there is no shader error in the terminal.

Screen Shot 2019-09-23 at 21.31.20.jpg

System Information
Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon R9 M370X OpenGL Engine ATI Technologies Inc. 4.1 ATI-1.68.23

Blender Version
Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-23 15:18, hash: 14acac0bb7

I can confirm this bug on OSX 10.13.6. I bisected the bug to commit 3a08153d7a . In my opinion the bug is even visible in the workbench view in the form of two colors of the mesh. See screenshot below. In debug mode, there is no shader error in the terminal. ![Screen Shot 2019-09-23 at 21.31.20.jpg](https://archive.blender.org/developer/F7772515/Screen_Shot_2019-09-23_at_21.31.20.jpg) **System Information** Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon R9 M370X OpenGL Engine ATI Technologies Inc. 4.1 ATI-1.68.23 **Blender Version** Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-23 15:18, hash: `14acac0bb7`
Clément Foucault was assigned by Philipp Oeser 2019-09-24 09:11:09 +02:00
Member

Added subscriber: @fclem

Added subscriber: @fclem
Member

I cannot reproduce myself (on linux), but I assume this can be confirmed...

@fclem: mind checking?

I cannot reproduce myself (on linux), but I assume this can be confirmed... @fclem: mind checking?

Added subscriber: @Toxe

Added subscriber: @Toxe

Hello, I think I have the same problem.

When I assign multiple materials to different faces of the same object then I only see the first material of the object and all other faces with different materials are transparent.
This happens only with Eevee (Cycles is fine) and I am using the macOS version. I am using the current dev version of Blender (I updated today) and I did not have this problem with a version that was a couple of days older.

**System:**iMac (Retina 5K, 27-inch, Late 2015), macOS Mojave 10.14.5

Blender:
version: 2.81 (sub 12), branch: master, commit date: 2019-09-23 20:20, hash: 5a6ab6f594, type: Release
build date: 2019-09-23, 23:24:40
platform: Darwin

renderer: 'AMD Radeon R9 M395 OpenGL Engine'
vendor: 'ATI Technologies Inc.'
version: '4.1 ATI-2.9.26'

Hello, I think I have the same problem. When I assign multiple materials to different faces of the same object then I only see the first material of the object and all other faces with different materials are transparent. This happens **only with Eevee** (Cycles is fine) and I am using the **macOS** version. I am using the current dev version of Blender (I updated today) and I did not have this problem with a version that was a couple of days older. **System:**iMac (Retina 5K, 27-inch, Late 2015), macOS Mojave 10.14.5 **Blender:** version: 2.81 (sub 12), branch: master, commit date: 2019-09-23 20:20, hash: 5a6ab6f59468, type: Release build date: 2019-09-23, 23:24:40 platform: Darwin renderer: 'AMD Radeon R9 M395 OpenGL Engine' vendor: 'ATI Technologies Inc.' version: '4.1 ATI-2.9.26'
Member

Added subscribers: @CookItOff, @MauroPfister

Added subscribers: @CookItOff, @MauroPfister

Added subscriber: @ph-1

Added subscriber: @ph-1

Hello, same here.

System Information
Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits
Graphics card: NVIDIA GeForce GTX 1080 Ti OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-10.33.0 387.10.10.10.40.122

Blender Version
Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-23 20:20, hash: 5a6ab6f594
Worked: before :)

Short description of error
Faces of object with multiple materials behave oddly (disappearing entirely or showing wrong material) in viewport except in Cycles.

Exact steps for others to reproduce the error
Use default cube, assign a second material to face(s). Parts with second material disappear.
Add 3rd material to other face, it becomes transparent too.
Assign one of any 3 materials to all faces, everything shows up.
Play assigning material to other faces a few times, it even swaps materials oddly (sometimes transparent sometimes wrong one).

This occurs in Solid, Material Preview and Eevee.

It's working fine in Cycles.

Hello, same here. **System Information** Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits Graphics card: NVIDIA GeForce GTX 1080 Ti OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-10.33.0 387.10.10.10.40.122 **Blender Version** Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-23 20:20, hash: `5a6ab6f594` Worked: before :) **Short description of error** Faces of object with multiple materials behave oddly (disappearing entirely or showing wrong material) in viewport except in Cycles. **Exact steps for others to reproduce the error** Use default cube, assign a second material to face(s). Parts with second material disappear. Add 3rd material to other face, it becomes transparent too. Assign one of any 3 materials to all faces, everything shows up. Play assigning material to other faces a few times, it even swaps materials oddly (sometimes transparent sometimes wrong one). This occurs in Solid, Material Preview and Eevee. It's working fine in Cycles.

This issue was referenced by c601839176

This issue was referenced by c6018391765c4406f8e190cb837174ed259ac90d
Member

Added subscribers: @ChuckOcheret, @cschumann

Added subscribers: @ChuckOcheret, @cschumann

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

System Information
Operating system: Darwin-18.7.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 580X OpenGL Engine ATI Technologies Inc. 4.1 ATI-2.11.20

Blender Version
Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-27 21:15, hash: 1b36c91831
Worked: (optional)

Can confirm: issue is resolved.

Thanks!

**System Information** Operating system: Darwin-18.7.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 580X OpenGL Engine ATI Technologies Inc. 4.1 ATI-2.11.20 **Blender Version** Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-27 21:15, hash: `1b36c91831` Worked: (optional) Can confirm: issue is resolved. Thanks!
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
10 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#70106
No description provided.