EEVEE Next broken normals with "High Quality Normals" / MB & "Smooth by Angle" node #114144

Closed
opened 2023-10-25 11:37:09 +02:00 by Steffen Dünner · 1 comment

System Information
Operating system: Linux-6.2.0-35-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 535.104.12

Blender Version
Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-10-25 08:24, hash: 23e9ebfdbd39
Worked: (newest version of Blender that worked as expected)

Short description of error
Sorry for the lengthy title, but I found a weird looking shading bug with EEVEE Next that only happens with a certain combination of render options / modifiers.
I attached a simple repro scene.
The facetted / destroyed normals only show up if
a) "High Quality Normals" are enabled
image
b) Motion Blur is enabled in EEVEE Next
c) a "Smooth by Angle" modifier is added

Then you get this:
image

If one of these 3 prerequisites is not met, the bug disappears:
image

Exact steps for others to reproduce the error

  • Open the attached blend file: EEVEE_Next_MB_Bug_v01.blend
  • Switch the viewport to "Rendered" -> weird result
    Now do one of these:
  • Switch off "Motion Blur" -> all is fine
  • Switch off "High Quality Normals" -> all is fine
  • Switch off the "Smooth by Angle" modifier -> all is fine
**System Information** Operating system: Linux-6.2.0-35-generic-x86_64-with-glibc2.35 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 535.104.12 **Blender Version** Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-10-25 08:24, hash: `23e9ebfdbd39` Worked: (newest version of Blender that worked as expected) **Short description of error** Sorry for the lengthy title, but I found a weird looking shading bug with EEVEE Next that only happens with a certain combination of render options / modifiers. I attached a simple repro scene. The facetted / destroyed normals only show up if a) "High Quality Normals" are enabled ![image](/attachments/fd5dfd82-4f28-4973-ad00-75757f9248ae) b) Motion Blur is enabled in EEVEE Next c) a "Smooth by Angle" modifier is added Then you get this: ![image](/attachments/40fafc4f-e885-4841-bad9-800ed3c90e37) If one of these 3 prerequisites is not met, the bug disappears: ![image](/attachments/7122e5b6-d6e6-472c-bb4f-8fd712914f65) **Exact steps for others to reproduce the error** - Open the attached blend file: [EEVEE_Next_MB_Bug_v01.blend](/attachments/5cda83bc-7a7b-46b3-a79d-37098546da9a) - Switch the viewport to "Rendered" -> weird result Now do one of these: - Switch off "Motion Blur" -> all is fine - Switch off "High Quality Normals" -> all is fine - Switch off the "Smooth by Angle" modifier -> all is fine
Steffen Dünner added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2023-10-25 11:37:10 +02:00
Richard Antalik added
Module
EEVEE & Viewport
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-10-25 15:41:21 +02:00
Miguel Pozo added the
Interest
EEVEE
label 2023-11-07 15:53:05 +01:00
Member

In case someone else tries to take a look at this one:
The issue comes from eevee_velocity assuming pos_nor is sizeof(float4), but that's not the case for HQ normals.

In case someone else tries to take a look at this one: The issue comes from `eevee_velocity` assuming `pos_nor` is `sizeof(float4)`, but that's not the case for HQ normals.
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-11-23 19:50:18 +01:00
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#114144
No description provided.