Cycles: Displacement splits flat-shaded faces #114028
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#114028
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 536.40
Blender Version
Broken: version: 4.1.0 Alpha, branch: PR111187, commit date: 2023-10-20 17:39, hash:
05ff4ce98bce
Caused by something between 4.1.0 Alpha 2023-10-19 22:55
a53dd6e93cfe
and 4.1.0 Alpha 2023-10-20 22:280bde01eab51c
.Short description of error
Cycles displacement split flat-shaded faces if the mesh has a mix of smooth- and flat-shaded faces.
If all faces are flat-shaded they don't split.
Test file: displacement_split_cycles.blend
Cycles: displacement split flat-shaded facesto Cycles: Displacement splits flat-shaded facesMost likely caused by
89e3ba4e25
.CC @HooglyBoogly
I don't have a great idea of how to fix this honestly. Maybe displacement could be tweaked to keep these vertices "merged".
The other option is that we're forced to add a "No Split Normals" flag to meshes, but I'd really like to avoid that since it would make edge sharpness disfunctional, meaning we have some of the complexity of auto smooth again.
To make it clear, the new state we have now that we didn't have before is that we can have "split" normals (which in Cycles causes splitting of mesh topology at the seams) without explicitly turning on "auto smooth". Options are:
I don't really view going back to the previous state of "turn on some option if you want this behavior" just hide the problem a proper solution. It would be helpful to have some input from the Cycles team here. I'd also note there might be performance benefits to not altering mesh topology for split shading requirements.
@HooglyBoogly I'll look into adding native support for per-corner normals in Cycles, to avoid splitting the mesh.
I implemented corner normals in Cycles, but there is a significant increase in memory usage in benchmarks that I'm unhappy about. There are many existing models that have autosmooth enabled for no good reason, and a handful of edges get marked as sharp which affects memory usage for the entire mesh.
I ended up implementing a simpler fix for this specific regression, since I don't want to spend much more time on this now.
There is still a pre-existing issue where sharp edges can also cause artifacts like this bug report. However that is not a regression, so not high priority.
In general, displacement is not really meant to be used with low poly models where you would use these kinds of sharp edges and faces.