Fix #109302: baking UDIM displacement normalization wrong #109409

Merged
Philipp Oeser merged 2 commits from lichtwerk/blender:109302 into main 2023-06-28 14:58:59 +02:00

2 Commits

Author SHA1 Message Date
Philipp Oeser 6849609e5e address review
- take first thread into account as well
- take other images into account as well (not just the last)
2023-06-28 14:27:40 +02:00
Philipp Oeser 6b2e340e6e Fix #109302: baking UDIM displacement normalization wrong
Since UDIM baking support in 6787cc13d4, the normalization of
diplacement heights was always based on the min/max height detected in
the _last_ tile, which could lead to clipping if the last tile had very
subtle (or no) displacement.

Now min/max is spread across all tiles.
2023-06-27 15:12:03 +02:00