Problem with calculation of normals #66839

Closed
opened 2019-07-13 05:03:08 +02:00 by Serj Yurkevich · 13 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.64

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-11 13:50, hash: 06312c6d2d
Worked: (optional)

Short description of error
when baking normal map from selected to active, texture looks correct, but resul in 3d viewport looks wrong in eevee and cycles too

Exact steps for others to reproduce the error

  1. I was make some fast sculpt.
  2. make lowpoly retopology.
  3. mark seams and unwrap then.
  4. go to material settings, in "normal" section add node "normal map", for normal color chose "image texture" node, and create new texture.
  5. select highpoly first then lowpoly, go to cycles baking, choose "normal" to bake and "selected to active" change auto cage distance to 0.2. then press bake.
  6. texture looks correct, but in eevee and cycles calculations of light look wrong.
    Sculpt_(Hi+Low)_ForBakeTest.blend
    image.png
    image.png
**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.64 **Blender Version** Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-11 13:50, hash: `06312c6d2d` Worked: (optional) **Short description of error** when baking normal map from selected to active, texture looks correct, but resul in 3d viewport looks wrong in eevee and cycles too **Exact steps for others to reproduce the error** 1. I was make some fast sculpt. 2. make lowpoly retopology. 3. mark seams and unwrap then. 4. go to material settings, in "normal" section add node "normal map", for normal color chose "image texture" node, and create new texture. 5. select highpoly first then lowpoly, go to cycles baking, choose "normal" to bake and "selected to active" change auto cage distance to 0.2. then press bake. 6. texture looks correct, but in eevee and cycles calculations of light look wrong. [Sculpt_(Hi+Low)_ForBakeTest.blend](https://archive.blender.org/developer/F7604576/Sculpt__Hi_Low__ForBakeTest.blend) ![image.png](https://archive.blender.org/developer/F7604598/image.png) ![image.png](https://archive.blender.org/developer/F7604600/image.png)
Author

Added subscriber: @Serj_Coruzyak

Added subscriber: @Serj_Coruzyak
Serj Yurkevich changed title from Problem with unwraping or may be with calculation of normal map to Problem with calculation of normal map 2019-07-13 05:07:27 +02:00

Added subscriber: @NahuelBelich

Added subscriber: @NahuelBelich

if you use .png, remember to set the Color Space to "non color data" for normal maps.
This is also usually the case for metallic, roughness and other value based shader channels.
imagen.png

if you use .png, remember to set the Color Space to "non color data" for normal maps. This is also usually the case for metallic, roughness and other value based shader channels. ![imagen.png](https://archive.blender.org/developer/F7605039/imagen.png)
Author

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Serj Yurkevich self-assigned this 2019-07-13 12:07:00 +02:00
Author

Wow thank you, sorry for that mistake. Earlier i try to setup normal map in beta from 6 july, i was checking color space box and it was disabled like on screen bellow, i dont know why. Now in RC1 i was forgot to check this box and it works, color space with non-color data was solve that problem in eevee. Many thanx.
image.png

Wow thank you, sorry for that mistake. Earlier i try to setup normal map in beta from 6 july, i was checking color space box and it was disabled like on screen bellow, i dont know why. Now in RC1 i was forgot to check this box and it works, color space with non-color data was solve that problem in eevee. Many thanx. ![image.png](https://archive.blender.org/developer/F7605233/image.png)
Author

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
Author

Oh wait a moment, i was add standart primitive UV_Sphere in to scene, and in Cycles both UV_Sphere and my Lowpoly has some like stairs artifact from vertex normals and light calculation like on screen below.
image.png

Oh wait a moment, i was add standart primitive UV_Sphere in to scene, and in Cycles both UV_Sphere and my Lowpoly has some like stairs artifact from vertex normals and light calculation like on screen below. ![image.png](https://archive.blender.org/developer/F7605289/image.png)
Serj Yurkevich changed title from Problem with calculation of normal map to Problem with calculation of normals 2019-07-13 13:22:10 +02:00

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

That's not considered a bug currently, a fix towards that is in D4459.

That's not considered a bug currently, a fix towards that is in [D4459](https://archive.blender.org/developer/D4459).
Author

As i understand that fix from march of 2019?
Screens from RC1
image.png
I see that problem with calculation of lights, on my home PC and on my work PC.

  1. On blender start, i was add primitives, UVSphere and Suzanne. Light in scene are default.
  2. For both primitives check shade smooth.
  3. For suzanne i was use subdivision, but artifacts allmoust here without that modificator.
As i understand that fix from march of 2019? Screens from RC1 ![image.png](https://archive.blender.org/developer/F7610359/image.png) I see that problem with calculation of lights, on my home PC and on my work PC. 1. On blender start, i was add primitives, UVSphere and Suzanne. Light in scene are default. 2. For both primitives check shade smooth. 3. For suzanne i was use subdivision, but artifacts allmoust here without that modificator.

D4459 is not part of any release yet, it's a work in progress.

[D4459](https://archive.blender.org/developer/D4459) is not part of any release yet, it's a work in progress.
Author

That good news, many thanx

That good news, many thanx
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
3 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#66839
No description provided.