Blender Git Loki

Git Commits -> Revision 1d585be

Revision 1d585be by Brecht Van Lommel (pygpu_extensions)
February 12, 2021, 15:14 (GMT)
Baking: support vertex color baking of normal material, UV discontinuities

Baking vertex colors per-corner leads to unwanted discontinuities when there is
sampling noise, for example in ambient occlusion or with a bevel shader node for
normals. For this reason the code used to always average results per-vertex.

However when using split normals, multiple materials or UV islands, we do want to
preserve discontinuities. So now bake per corner, but make sure the sampling seed
is shared for vertices.

Fix T85550: vertex color baking crash with split normals, Ref D10399
Fix T84663: vertex color baking blending at UV seams

Commit Details:

Full Hash: 1d585beeecb844374ab26f8594354118caa0ec1b
Parent Commit: 8053a7f
Committed By: Germano Cavalcante
Lines Changed: +66, -33

5 Modified Paths:

/intern/cycles/kernel/kernel_bake.h (+2, -1) (Diff)
/source/blender/editors/object/object_bake_api.c (+59, -31) (Diff)
/source/blender/render/intern/bake.c (+3, -0) (Diff)
/source/blender/render/intern/engine.c (+1, -1) (Diff)
/source/blender/render/RE_bake.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021