baking normal map using cycles does not support custom vertex normals on the baking target mesh #53498
Labels
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
13 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#53498
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 10
Blender Version
blender-2.79.0
2bf3825
Bug Description:
When baking normal maps from a high poly mesh to a low poly mesh using cycles, if the low poly mesh has customized vertex normals, cycles will not use them.
I uploaded a test file here which contains a simple highpoly (using a material with the new blend node) and lowpoly with custom normals (created using the Y.A.V.N.E. plugin):
http://www.brameulaers.net/blender/debug/cycles_baketest.blend
Using cycles for baking I consistently get incorrect normals baked down.
Custom normals are very often used in game development to get higher quality bakes and more flexible normal maps. Getting this feature to work correctly in Blender, used together with the new bevel node will make Blender a very powerful tool for producing PBR ready game art.
If anyone has time to take a look at this, I'd be very grateful! Hit me up if you need more test cases to work with and I'll gladly set them up.
Changed status to: 'Open'
Added subscriber: @Leukbaars
#62370 was marked as duplicate of this issue
#54460 was marked as duplicate of this issue
Added subscribers: @dfelinto, @Sergey
Uploading file here: cycles_baketest.blend
@dfelinto, something you can have a look? :)
Added subscribers: @SakariLeppa, @lichtwerk
Added subscriber: @Jasiek
Any progress on this?
Doing a model with custom normals on the low-poly and the expertimental dispalcement on the high poly... and kinda can't progress until this is fixed, is there an ETA?
Added subscriber: @Clean3d
Added subscriber: @AgustinDAlessandro
For what I can see the normals are baked correctly, at least in 2.79.6. The problem that I noticed was the rendering of the object, custom normals and normal maps are still giving problems to cycles{F4670131}. Can anyone Upload another example, maybe I'm missing it.
I tried baking a simple model with Cycles recently and the problem persists, the low poly mesh had edited normals using the blend4web plugin, and cycles ignored them during baking, while internal gave me a correct, and quite visibly different result of the bake.
I can provide an example file later today.
Here is a recording of the process, where I first try and bake it out in cycles and am getting an unwanted result, and in the end I use internal and the result is correct :
This was recorded during a stream, so you may have to skip through the video. It contains the normal editing process, baking in cycles and internal.
https://www.youtube.com/watch?v=b23nwQb_qLI
Will check it out
Added subscriber: @Vyach
Added subscriber: @SteffenD
Added subscriber: @EugenioPignataro
Same problem for me.
I'm in 2.8
Changed status from 'Confirmed' to: 'Resolved'
It looks like this has been resolved?
In
79003fa0c4
I get:2.8 Cycles with Split Normals
2.8 Cycles without Split Normals
whereas in 2.79 these looked the same with or without the split normals...
[looks like this has been resolved somewhere between
8aa87972ca
and9ab0247b6e
, probablyc8e3fe608e
]So will close as resolved, feel free though to comment again if issues persist...
At a quick glance the sides of the screws (I assume that's what it is- the two vertical strips on the left) look incorrect - like world space normals. It could be a problem with the model, will test it out on my own model.
Just making sure here too - the issue at hand is surface weighted normals on the low poly, not the high poly - as in, an ingame model might have both a baked normal map and surface weighted normals, and they need to be baked to the low poly with the weighted normal taken into account.
Thanks!
Changed status from 'Resolved' to: 'Needs User Info'
Thx for getting back.
Yes, please check again, if it turns out there are still issues, please also upload your own file here...
Added subscriber: @ideasman42
Changed status from 'Needs User Info' to: 'Archived'
More than a week without reply or activity.
Due to the policy of the tracker closing for until required info/data are provided.
If the problem persists please open a new report with the required information.
Added subscriber: @BadSpleen
Hi. I was having the same problem where the custom split normal data wasn't being used when baking down to a low poly mesh. I noted in the documentation that FBX files support split normals. I exported my object as an FBX, then reimported it, and the normal map baked out as expected, using the split normals.
Hope this helps in some way.
Cheers,
Adam
Removed subscriber: @Vyach