Fix: Node Wrangler: non-color bump and normal in principled setup #105236

Merged
Damien Picard merged 1 commits from pioverfour/blender-addons:dp_fix_nw_normal_colorspace into blender-v4.1-release 2024-03-14 15:25:03 +01:00

1 Commits

Author SHA1 Message Date
71b19ea0b2 Fix: Node Wrangler: non-color bump and normal in principled setup
Commit d50d3f2734 allowed the use of both bump and normal maps when
using Node Wrangler's Principled Setup. However it made those textures
use the default color space instead of Non-Color, which should be used
for data maps.

The bug was introduced because bump and normal maps were handled as
part of regular textures, for which the Non-Color space is assigned
based on name. The change led to them being extracted to their own
block, but the color space assignment was omitted.
2024-03-14 15:19:55 +01:00