Sculpting produces weird shading artifacts #90598

Open
opened 2021-08-11 04:31:15 +02:00 by CHET · 29 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 950M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-07-31 18:26, hash: 17243337d7

Short description of error
When sculpting a low poly mesh, weird shading artifacts appear.
If you remove them with a modifier, then over time they reappear when sculpting
X9Tkiufd2w.mp4

.blend file showing in the video: test.blend

Exact steps for others to reproduce the error

  • In a clean scene with no objects, Add a cylinder (or any low poly object, preferably with N-gons)
  • Enable Shade Smooth on the object. {nav Object > Shade Smooth}
  • Go to Sculpt Mode
  • Use a brush anywhere - the affected vertices will have their normals updated and change their look
Screenshot_2022-03-08_10-59-39.png Screenshot_2022-03-08_11-00-01.png
If you undo or do any operation that affects the entire mesh it will change the shading everywhere
Screenshot_2022-03-08_11-00-11.png
--
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 950M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-07-31 18:26, hash: `17243337d7` **Short description of error** When sculpting a low poly mesh, weird shading artifacts appear. If you remove them with a modifier, then over time they reappear when sculpting [X9Tkiufd2w.mp4](https://archive.blender.org/developer/F10277092/X9Tkiufd2w.mp4) |.blend file showing in the video:|[test.blend](https://archive.blender.org/developer/F10277093/test.blend) | -- | -- | **Exact steps for others to reproduce the error** - In a clean scene with no objects, Add a cylinder (or any low poly object, preferably with N-gons) - Enable Shade Smooth on the object. {nav Object > Shade Smooth} - Go to Sculpt Mode - Use a brush anywhere - the affected vertices will have their normals updated and change their look |![Screenshot_2022-03-08_10-59-39.png](https://archive.blender.org/developer/F12906836/Screenshot_2022-03-08_10-59-39.png)|![Screenshot_2022-03-08_11-00-01.png](https://archive.blender.org/developer/F12906842/Screenshot_2022-03-08_11-00-01.png) | -- | -- | If you undo or do any operation that affects the entire mesh it will change the shading everywhere |![Screenshot_2022-03-08_11-00-11.png](https://archive.blender.org/developer/F12906848/Screenshot_2022-03-08_11-00-11.png) | -- |
Author

Added subscriber: @cheteron

Added subscriber: @cheteron

#91583 was marked as duplicate of this issue

#91583 was marked as duplicate of this issue
Philipp Oeser changed title from Shader bug to Sculpting produces weird shading artifacts 2021-08-12 10:11:49 +02:00
Author

image.png

![image.png](https://archive.blender.org/developer/F10291575/image.png)

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

Thanks for the report. I can confirm in the file.
But since this problem seems to be mitigated by entering and exiting edit mode, we need to know how to reproduce it from scratch.

We can see that the mesh normal is messed up. But how they got that way is important for us to fix the problem.

Thanks for the report. I can confirm in the file. But since this problem seems to be mitigated by entering and exiting edit mode, we need to know how to reproduce it from scratch. We can see that the mesh normal is messed up. But how they got that way is important for us to fix the problem.

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Well, I can now see that the "draw" brush affects the normals more roughly:
GIF.gif

So the problem could be out there.

Well, I can now see that the "draw" brush affects the normals more roughly: ![GIF.gif](https://archive.blender.org/developer/F10296012/GIF.gif) So the problem could be out there.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Author

Can you fix this?

Can you fix this?

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

I'm taking a risk and confirming the bug.

I'm taking a risk and confirming the bug.
Author

Guys, Blender 3.0.1 Release(!), where is bug fix?
image.png

Guys, Blender 3.0.1 Release(!), where is bug fix? ![image.png](https://archive.blender.org/developer/F12900079/image.png)

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

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

Actually, I can no longer reproduce the problem in the last daily build.
Please try with the latest daily build: https://builder.blender.org/download/daily/archive/

Note that it is also possible that you may be seeing bad custom split normals, or limitations with triangles. (We would need the file to check)

Actually, I can no longer reproduce the problem in the last daily build. Please try with the latest daily build: https://builder.blender.org/download/daily/archive/ Note that it is also possible that you may be seeing bad custom split normals, or limitations with triangles. (We would need the file to check)
Author

A file is already attached to the topic topic, I am attaching another one. It is very sad that you are releasing a release without even closing the bugs
test.blend

A file is already attached to the topic topic, I am attaching another one. It is very sad that you are releasing a release without even closing the bugs [test.blend](https://archive.blender.org/developer/F12901257/test.blend)

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

Changed status from 'Needs User Info' to: 'Resolved'
Germano Cavalcante self-assigned this 2022-03-07 19:34:44 +01:00

I reproduced this bug in the latest official release, but not the latest daily build, so it appears the bug has been fixed already.

Maybe this bug is related to this other one #94838 (Normals not properly updating when using a Deform modifier after a Data Transfer (Custom Normals) modifier).
It was resolved with cfa53e0fbe.
Unfortunately that commit cannot be backported to 3.0.

If the problem persists, please let us know so we can re-open the report. Don't forget to mention the specific version you tested again.

I reproduced this bug in the latest official release, but not the latest daily build, so it appears the bug has been fixed already. Maybe this bug is related to this other one #94838 (Normals not properly updating when using a Deform modifier after a Data Transfer (Custom Normals) modifier). It was resolved with cfa53e0fbe. Unfortunately that commit cannot be backported to 3.0. If the problem persists, please let us know so we can re-open the report. Don't forget to mention the specific version you tested again.
Author

I have the latest build installed, specially checked the numbers. I do not have custom normals and deformation modifiers, it is clearly visible in the scene, the problem concerns the sculpt
blender_Aw1X5wfVdJ.jpg
image.png
The problem is not resolved!
image.png

I have the latest build installed, specially checked the numbers. I do not have custom normals and deformation modifiers, it is clearly visible in the scene, the problem concerns the sculpt ![blender_Aw1X5wfVdJ.jpg](https://archive.blender.org/developer/F12901334/blender_Aw1X5wfVdJ.jpg) ![image.png](https://archive.blender.org/developer/F12901379/image.png) The problem is not resolved! ![image.png](https://archive.blender.org/developer/F12901351/image.png)

Sorry, I pointed the wrong link in a previous comment.
See this one: https://builder.blender.org/download/daily/

The release of 3.1 is scheduled for the end of this week and the developers are already working on 3.2.

Sorry, I pointed the wrong link in a previous comment. See this one: https://builder.blender.org/download/daily/ The release of 3.1 is scheduled for the end of this week and the developers are already working on 3.2.
Author

Blender 3.1
image.png

Blender 3.1 ![image.png](https://archive.blender.org/developer/F12901450/image.png)

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

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

Sad that the problem has not been resolved. But just an image doesn't help us to progress.
Note that in order to forward the report to the developers it is necessary to replicate the problem.
Opening a file that apparently is ok does not help to identify the bug, it is also necessary the "steps for others to reproduce the error".

Apparently the problem is partially fixed because the original file and the file attached in the comments do not show the problem.
So if you found a new way to trigger the problem, it's important to inform how you did it.

A guideline for making a good bug report can be found at https://wiki.blender.org/wiki/Process/Bug_Reports

Sad that the problem has not been resolved. But just an image doesn't help us to progress. Note that in order to forward the report to the developers it is necessary to replicate the problem. Opening a file that apparently is ok does not help to identify the bug, it is also necessary the "**steps for others to reproduce the error**". Apparently the problem is partially fixed because the original file and the file attached in the comments do not show the problem. So if you found a new way to trigger the problem, it's important to inform how you did it. A guideline for making a good bug report can be found at https://wiki.blender.org/wiki/Process/Bug_Reports
Author

You have a file with bug, I don't know how to reproduce it. It appears in the sculpt with lowpoly randomly.

You have a file with bug, I don't know how to reproduce it. It appears in the sculpt with lowpoly randomly.
Member

Added subscriber: @JulienKaspar

Added subscriber: @JulienKaspar
Member

I think this is a fairly old bug that can be replicated with any primitive object. For example you can add a cylinder, smooth shade it and enter sculpt mode.
At first the shading will be exactly like in object mode:
Screenshot_2022-03-08_10-59-39.png
If you use a brush anywhere, the affected vertices will have their normals updated and change their look:
Screenshot_2022-03-08_11-00-01.png
If you undo or do any operation that affects the entire mesh it will change the shading everywhere:
Screenshot_2022-03-08_11-00-11.png

I think this is a fairly old bug that can be replicated with any primitive object. For example you can add a cylinder, smooth shade it and enter sculpt mode. At first the shading will be exactly like in object mode: ![Screenshot_2022-03-08_10-59-39.png](https://archive.blender.org/developer/F12906836/Screenshot_2022-03-08_10-59-39.png) If you use a brush anywhere, the affected vertices will have their normals updated and change their look: ![Screenshot_2022-03-08_11-00-01.png](https://archive.blender.org/developer/F12906842/Screenshot_2022-03-08_11-00-01.png) If you undo or do any operation that affects the entire mesh it will change the shading everywhere: ![Screenshot_2022-03-08_11-00-11.png](https://archive.blender.org/developer/F12906848/Screenshot_2022-03-08_11-00-11.png)
Germano Cavalcante removed their assignment 2022-03-08 15:29:23 +01:00

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

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

Thanks for the updates.
I was able to replicate the problem and update the report.
It is now in the #sculpt_paint_texture developers task stack.

Thanks for the updates. I was able to replicate the problem and update the report. It is now in the #sculpt_paint_texture developers task stack.
Member

Added subscriber: @GabrielMoro

Added subscriber: @GabrielMoro
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:11:46 +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
5 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#90598
No description provided.