Normal map with bold relief causes black artifacts with Glossy BSDF shader #51008

Closed
opened 2017-03-20 15:50:10 +01:00 by Lex · 10 comments

System Information
Windows 10 x64 home, Nvidia GTX 1070 with latest WHQL drivers.

Blender Version
2.78c

Short description of error
Some kind of normal maps - like folded foil or crumpled sheet of metal - produces black artifacts in their folds with "Glossy BSDF" shader node (no problems with
"Diffuse BSDF" though). That start to happen then "Strength" parameter of "Normal map" node is high enough - at low values (~"0.5" and lower) those black artifacts disappears.

Exact steps for others to reproduce the error

  1. Open attached scene
  2. Switch viewport to "Rendering" mode.

Example screenshot .
[Bugreports] Black artifacts on normal map.blend

**System Information** Windows 10 x64 home, Nvidia GTX 1070 with latest WHQL drivers. **Blender Version** 2.78c **Short description of error** Some kind of normal maps - like folded foil or crumpled sheet of metal - produces black artifacts in their folds with "Glossy BSDF" shader node (no problems with "Diffuse BSDF" though). That start to happen then "Strength" parameter of "Normal map" node is high enough - at low values (~"0.5" and lower) those black artifacts disappears. **Exact steps for others to reproduce the error** 1. Open attached scene 2. Switch viewport to "Rendering" mode. [Example screenshot ](http://www.techkind.org/Blender/[Bugreport]%20Normal%20map%20artifacts.png). [[Bugreports] Black artifacts on normal map.blend](https://archive.blender.org/developer/F516562/_Bugreports__Black_artifacts_on_normal_map.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Lex4art

Added subscriber: @Lex4art
Member

Added subscriber: @LukasStockner

Added subscriber: @LukasStockner
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Lukas Stockner self-assigned this 2017-03-22 03:06:50 +01:00
Member

This is the same problem as in #49921 - the normal mapping changes the surface normal, so the reflected ray would go inside the actual geometry, which isn't really possible.

In this case, the way to get around this problem is to use microdisplacement with a displacement map instead of normal maps.

Sorry for the non-answer, but this isn't really something we can fix.

This is the same problem as in #49921 - the normal mapping changes the surface normal, so the reflected ray would go inside the actual geometry, which isn't really possible. In this case, the way to get around this problem is to use microdisplacement with a displacement map instead of normal maps. Sorry for the non-answer, but this isn't really something we can fix.

Added subscriber: @MikiProxima

Added subscriber: @MikiProxima

I also have struggled with this kind of artifacts and found a simple trick how to avoid them. Basically you can calculate a dot product between normal and incoming vector and attenuate the normal map where it could cause problems viz https://blenderartists.org/forum/showthread.php?382497-Black-material-artifacts-on-flat-angle-surface-areas

I also have struggled with this kind of artifacts and found a simple trick how to avoid them. Basically you can calculate a dot product between normal and incoming vector and attenuate the normal map where it could cause problems viz https://blenderartists.org/forum/showthread.php?382497-Black-material-artifacts-on-flat-angle-surface-areas
Author

In #51008#424222, @MikiProxima wrote:
I also have struggled with this kind of artifacts and found a simple trick how to avoid them. Basically you can calculate a dot product between normal and incoming vector and attenuate the normal map where it could cause problems viz https://blenderartists.org/forum/showthread.php?382497-Black-material-artifacts-on-flat-angle-surface-areas

Thanks, that will do the job for me - smart solution ).

> In #51008#424222, @MikiProxima wrote: > I also have struggled with this kind of artifacts and found a simple trick how to avoid them. Basically you can calculate a dot product between normal and incoming vector and attenuate the normal map where it could cause problems viz https://blenderartists.org/forum/showthread.php?382497-Black-material-artifacts-on-flat-angle-surface-areas Thanks, that will do the job for me - smart solution ).

Added subscriber: @lsscpp

Added subscriber: @lsscpp

I found a weird shading bug for wide surfaces. The black reflections come back in this file: http://pasteall.org/blend/index.php?id=46239

I found a weird shading bug for wide surfaces. The black reflections come back in this file: http://pasteall.org/blend/index.php?id=46239
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
4 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#51008
No description provided.