Blender Git Loki

Git Commits -> Revision 9febda9

Revision 9febda9 by Brecht Van Lommel (master)
February 12, 2021, 14:01 (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: 9febda912b04559277d465b9610334c04a73d2ce
Parent Commit: 9fa6e06
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