Regression: Blending materials ( color attributes ) glitchy #97916

Closed
opened 2022-05-06 20:32:51 +02:00 by rob · 20 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-05 20:01, hash: 1b566b70c1
Worked: 3.1.2

Caused by 80859a6cb2

Short description of error
when blending two materials with color attributes, glitchy lines apear on the surface.

Exact steps for others to reproduce the error
beta_bug.blend
Open the included Blend file and switch to material preview in cycles mode. You will see lines appearing in the brick texture. Opening the same scene in Blender 3.1 works fine.

3.1.2
image.png
3.2 beta
image.png

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-05 20:01, hash: `1b566b70c1` Worked: 3.1.2 Caused by 80859a6cb2 **Short description of error** when blending two materials with color attributes, glitchy lines apear on the surface. **Exact steps for others to reproduce the error** [beta_bug.blend](https://archive.blender.org/developer/F13055175/beta_bug.blend) Open the included Blend file and switch to material preview in cycles mode. You will see lines appearing in the brick texture. Opening the same scene in Blender 3.1 works fine. 3.1.2 ![image.png](https://archive.blender.org/developer/F13064616/image.png) 3.2 beta ![image.png](https://archive.blender.org/developer/F13064619/image.png)
Author

Added subscriber: @RobTuytel

Added subscriber: @RobTuytel

#98648 was marked as duplicate of this issue

#98648 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Can confirm, will check

Can confirm, will check
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'
Member

Can you try to simplify the file as much as possible and only include the object with the brick texture? The attached file is too big to investigate easily.

Can you try to simplify the file as much as possible and only include the object with the brick texture? The attached file is too big to investigate easily.
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

@lichtwerk Sorry.

@lichtwerk Sorry.
Author

using 1K textures now{F13064663}

using 1K textures now{[F13064663](https://archive.blender.org/developer/F13064663/beta_bug_small.blend)}
Member

Added subscriber: @fclem

Added subscriber: @fclem
Member

Caused by 80859a6cb2

@fclem: mind checking?

Caused by 80859a6cb2 @fclem: mind checking?
Philipp Oeser changed title from Blending materials ( color attributes ) glitchy to Regression: Blending materials ( color attributes ) glitchy 2022-05-10 14:00:01 +02:00

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Clément Foucault self-assigned this 2022-05-10 14:48:35 +02:00

This is expected behavior. If you switch to cycles and render using bump only displacement it does exactly the same thing. The new displacement is more in line with what cycles does. This mean the old behavior was the wrong one.

I have added a note about this in the release notes https://wiki.blender.org/wiki/Reference/Release_Notes/3.2/EEVEE.

This is expected behavior. If you switch to cycles and render using bump only displacement it does exactly the same thing. The new displacement is more in line with what cycles does. This mean the old behavior was the wrong one. I have added a note about this in the release notes https://wiki.blender.org/wiki/Reference/Release_Notes/3.2/EEVEE.
Author

This problem happens in cycles material preview, not using Eevee. When rendering it looks fine, but the material preview mode is distored by verticle lines. If this is expected new behavior it makes material editing pretty hard.

This problem happens in cycles material preview, not using Eevee. When rendering it looks fine, but the material preview mode is distored by verticle lines. If this is expected new behavior it makes material editing pretty hard.

Cycles material preview is using EEVEE internally. So everything I've written still stands true.

Cycles material preview is using EEVEE internally. So everything I've written still stands true.

Added subscriber: @Grady

Added subscriber: @Grady

@fclem Is there any way the 3.1.2 behavior could be an option as well, for both Eevee and Cycles? While I understand why someone might want box projection for mapping textures onto already displaced geometry, it's also the case that often someone might want to displace geometry and apply textures to it using the same coordinates for both too, without having to UV unwrap it. The screenshot in the original bug report of the brickwork example is a good example use case for this. And as far as I'm aware of, there's currently no way of achieving this right now in Eevee or Cycles, without having to manually UV unwrap a mesh. Which is an approach that's incompatible with generated geometry.

@fclem Is there any way the 3.1.2 behavior could be an option as well, for both Eevee and Cycles? While I understand why someone might want box projection for mapping textures onto already displaced geometry, it's also the case that often someone might want to displace geometry and apply textures to it using the same coordinates for both too, without having to UV unwrap it. The screenshot in the original bug report of the brickwork example is a good example use case for this. And as far as I'm aware of, there's currently no way of achieving this right now in Eevee or Cycles, without having to manually UV unwrap a mesh. Which is an approach that's incompatible with generated geometry.

Added subscriber: @gaonirico

Added subscriber: @gaonirico
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
6 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#97916
No description provided.