Baking Normal Maps - Face weighted normals ignored on bake #59362

Closed
opened 2018-12-14 12:33:24 +01:00 by Joanna Vetulani · 14 comments

System Information
Operating system: Ubuntu 18.04
Graphics card: GTX 1080

Blender Version
Broken: 2.80 26d5a362ed
Worked: Never/In Blender 2.79 Internal with the Blend4Web addon normal tools

Bake a high poly cube with subsurf and rounded edges, with flat walls onto a regular cube with bevels and face weighted normals and the new normals are ignored.
The bake should be similar to a bake with control loops near the the edges, with large flat surfaces having the neutral normal color (RGB 128,128,255) instead of a gradient over the surface - as if no face weighting is being done.

Incorrect result:
BakeResultFaceWeightedIncorrect.png

Correct result:
BakeResultFaceWeightedCorrect.png

Blender file - contains a collection for the high poly, and two collections with different low poly setups.
BakeBoxSurfaceWeightedNormals.blend

System Information Operating system: Ubuntu 18.04 Graphics card: GTX 1080 Blender Version Broken: 2.80 26d5a362ed Worked: Never/In Blender 2.79 Internal with the Blend4Web addon normal tools Bake a high poly cube with subsurf and rounded edges, with flat walls onto a regular cube with bevels and face weighted normals and the new normals are ignored. The bake should be similar to a bake with control loops near the the edges, with large flat surfaces having the neutral normal color (RGB 128,128,255) instead of a gradient over the surface - as if no face weighting is being done. Incorrect result: ![BakeResultFaceWeightedIncorrect.png](https://archive.blender.org/developer/F5951772/BakeResultFaceWeightedIncorrect.png) Correct result: ![BakeResultFaceWeightedCorrect.png](https://archive.blender.org/developer/F5951776/BakeResultFaceWeightedCorrect.png) Blender file - contains a collection for the high poly, and two collections with different low poly setups. [BakeBoxSurfaceWeightedNormals.blend](https://archive.blender.org/developer/F5951803/BakeBoxSurfaceWeightedNormals.blend)

Added subscriber: @Jasiek

Added subscriber: @Jasiek

Added subscribers: @dfelinto, @ZedDB

Added subscribers: @dfelinto, @ZedDB
Dalai Felinto was assigned by Sebastian Parborg 2018-12-14 14:18:01 +01:00

I guess this is a job for you @dfelinto .

I guess this is a job for you @dfelinto .

We are prioritizing bugs that were introduced on 2.8. This is more of a TODO for Cycles baking than a bug. It may be a good task for new developers to pick though.

We are prioritizing bugs that were introduced on 2.8. This is more of a TODO for Cycles baking than a bug. It may be a good task for new developers to pick though.

Hmm, I guess you're right about it being a TO DO feature for Cycles.

I did a quick test in 2.7 with a low poly cube with surface weighted normals just to confirm that it indeed did work in internal (with the blend4web adddon to achieve surface weighted normals)
baked the normal map from a high poly rounded cube and the result seems mostly correct (depending on how you make your seems you get ugly seems sometimes).

NormalBakeTest2.7_editedNormalsOnLowPoly.png

Blend file - second layer includes a preview with a light and material of how the normal map behaves on the object.
BakeBox2.7_2.blend

Hmm, I guess you're right about it being a TO DO feature for Cycles. I did a quick test in 2.7 with a low poly cube with surface weighted normals just to confirm that it indeed did work in internal (with the blend4web adddon to achieve surface weighted normals) baked the normal map from a high poly rounded cube and the result seems mostly correct (depending on how you make your seems you get ugly seems sometimes). ![NormalBakeTest2.7_editedNormalsOnLowPoly.png](https://archive.blender.org/developer/F5962675/NormalBakeTest2.7_editedNormalsOnLowPoly.png) Blend file - second layer includes a preview with a light and material of how the normal map behaves on the object. [BakeBox2.7_2.blend](https://archive.blender.org/developer/F5962678/BakeBox2.7_2.blend)

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

I will close this for now. Keep an eye on D3998 which seems to handle this TODO.

I will close this for now. Keep an eye on [D3998](https://archive.blender.org/developer/D3998) which seems to handle this TODO.

In #59362#583876, @dfelinto wrote:
I will close this for now. Keep an eye on D3998 which seems to handle this TODO.

Still no progress in the other thread, has anyone done any work on this?
It is a crucial issue making 2.80 useless for normal baking for a lot of people in gamedev (and probably outside of it too), myself included.

> In #59362#583876, @dfelinto wrote: > I will close this for now. Keep an eye on [D3998](https://archive.blender.org/developer/D3998) which seems to handle this TODO. Still no progress in the other thread, has anyone done any work on this? It is a crucial issue making 2.80 useless for normal baking for a lot of people in gamedev (and probably outside of it too), myself included.

Added subscriber: @Constab

Added subscriber: @Constab

Hi Guys,

Do we have any news about it?
I spent a few days to trying to do baking normal map with average normals, but failed...
I thought that issue was in shader of game engine... But according to this topic looks like this is blender issue.

So do we have some workaround for baking average normals?

@Jasiek , maybe you can suggest some woraround?

Thanks,
Andrei.

Hi Guys, Do we have any news about it? I spent a few days to trying to do baking normal map with average normals, but failed... I thought that issue was in shader of game engine... But according to this topic looks like this is blender issue. So do we have some workaround for baking average normals? @Jasiek , maybe you can suggest some woraround? Thanks, Andrei.

@Constab I have not found a solution to this yet, other than exporting to Substance or other program.

This is an extremely needed feature.

@Constab I have not found a solution to this yet, other than exporting to Substance or other program. This is an extremely needed feature.

Added subscriber: @sid350

Added subscriber: @sid350

Added subscriber: @ziflin

Added subscriber: @ziflin

Was this issue ever addressed? I see that D3998 was marked as abandoned as well, though I'm not sure it actually addressed this issue.

Was this issue ever addressed? I see that [D3998](https://archive.blender.org/developer/D3998) was marked as abandoned as well, though I'm not sure it actually addressed this issue.
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
6 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#59362
No description provided.