Blender Git Loki

Git Commits -> Revision 0d57724

Revision 0d57724 by Brecht Van Lommel (master)
January 8, 2014, 22:36 (GMT)
Fix T38062: normal map baking gave randomly values 127 or 128 in flat areas.

Due to float precision issues it was basically random which of the two was used,
now it's slightly biased towards 128, which is the convention for flat colors.
The small difference between 127 and 128 could give problems with sharp glossy
shaders where it would be visible as seams.

Commit Details:

Full Hash: 0d57724c644c6a45cf14778c79b5138438d01cd6
Parent Commit: 2d073bb
Lines Changed: +8, -4

1 Modified Path:

/source/blender/render/intern/source/bake.c (+8, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021