Normal map baked incorrect #82315

Closed
opened 2020-11-02 04:41:58 +01:00 by Gennadiy · 14 comments

System Information
Operating system: windows 10
Graphics card: Gtx 970
Driver version: 456.71

Blender Version
Broken: (2.83, 2,9, 2.92)

Short description of error

any normal backing process with Selected to active option and with smooth shaded selected mesh makes a pixilize/grid artifacts

Exact steps for others to reproduce the error

https://youtu.be/Ujwf4FZ_TsA - bug

normal_bake.blend

**System Information** Operating system: windows 10 Graphics card: Gtx 970 Driver version: 456.71 **Blender Version** Broken: (2.83, 2,9, 2.92) **Short description of error** any normal backing process with Selected to active option and with smooth shaded selected mesh makes a pixilize/grid artifacts **Exact steps for others to reproduce the error** https://youtu.be/Ujwf4FZ_TsA - bug [normal_bake.blend](https://archive.blender.org/developer/F9166128/normal_bake.blend)
Author

Added subscriber: @DrBanana

Added subscriber: @DrBanana
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Please share that .blend file.
(If multiple devs are looking at this, this just saves a lot of time and also ensures we are all on the same page...)

Please share that .blend file. (If multiple devs are looking at this, this just saves a lot of time and also ensures we are all on the same page...)
Author

okay, i share it.

okay, i share it.

Added subscriber: @rjg

Added subscriber: @rjg

I'll have to take another look, but based on the video this looks like either the resolution of the normal map is too low and/or you're seeing the pixelation of the low res studio light HDRI.

I'll have to take another look, but based on the video this looks like either the resolution of the normal map is too low and/or you're seeing the pixelation of the low res studio light HDRI.
Author

the same result with 4k baked normal map and 8k hdri
image.png

the same result with 4k baked normal map and 8k hdri ![image.png](https://archive.blender.org/developer/F9167173/image.png)

Increasing the resolution of the bake and environment texture eliminates the pixelation on my system. The normal map was baked at a resolution of 4k as 32-bit float and the HDRI used in my test was this one .

viewport_render.jpg

I don't think this is a bug as I can reproduce this initial conditions and my suggestion does appear to fix the problem. Please double check that you're loading the correct texture in the material and the nodes for the world. If you're testing in Material Preview you have to check Viewport Shading > Lighting > Scene World to use the world shader as defined by your nodes.

Increasing the resolution of the bake and environment texture eliminates the pixelation on my system. The normal map was baked at a resolution of 4k as 32-bit float and the HDRI used in my test was [this one ](https://hdrihaven.com/hdri/?c=indoor&h=aerodynamics_workshop). ![viewport_render.jpg](https://archive.blender.org/developer/F9167468/viewport_render.jpg) I don't think this is a bug as I can reproduce this initial conditions and my suggestion does appear to fix the problem. Please double check that you're loading the correct texture in the material and the nodes for the world. If you're testing in *Material Preview* you have to check *Viewport Shading > Lighting > Scene World* to use the world shader as defined by your nodes.
Author

so it seem like blender can bake only 4k normal map now or not? Why any other software bake that objects correct with 1024 pix resolution?

so it seem like blender can bake only 4k normal map now or not? Why any other software bake that objects correct with 1024 pix resolution?
Author

Another one example, clean bake with 1024 pix normal map size but highpoly not smoothed
image.png

Another one example, clean bake with 1024 pix normal map size but highpoly not smoothed ![image.png](https://archive.blender.org/developer/F9167798/image.png)

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

Changed status from 'Needs User Info' to: 'Archived'
Robert Guetzkow self-assigned this 2020-11-02 14:58:42 +01:00

If you zoom close enough so that you can see the individual pixel of the normal map, there will be some form of visual degradation in every software.

You could optimize your normal map quite a bit to get more out of the texture resolution. Since the cube is perfectly symmetrical you could create a UV map where all faces are stacked over each other. The baked normal map would then only contain one face with the full 1k resolution.

If you zoom close enough so that you can see the individual pixel of the normal map, there will be some form of visual degradation in every software. You could optimize your normal map quite a bit to get more out of the texture resolution. Since the cube is perfectly symmetrical you could create a UV map where all faces are stacked over each other. The baked normal map would then only contain one face with the full 1k resolution.

I haven't seen your last comment while writing mine. If the flat surface of a cube face is not smoothed you get perfectly straight normals, that are consistent across the entire flat surface. It's expected that you don't see any pixelation in this case, because the neighboring pixels mapped to a cube face are exactly the same as they encode the same normal.

I haven't seen your last comment while writing mine. If the flat surface of a cube face is not smoothed you get perfectly straight normals, that are consistent across the entire flat surface. It's expected that you don't see any pixelation in this case, because the neighboring pixels mapped to a cube face are exactly the same as they encode the same normal.
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#82315
No description provided.