Blender Git Loki

Git Commits -> Revision 4079067

October 18, 2019, 12:43 (GMT)
Node shader wrapper: use 'Non-Color' profile for BW textures inputs.

All the single-value texture inputs of Principled BSDF node should use
non-color colorspace profile, not sRGB one (issue raised in
https://blender.stackexchange.com/questions/155617, thanks).

That also revealed another issue - since those color space settings are
stored at the image level itself, not the node one, we need to
duplicate those image data-blocks when we use same picture for e.g. base
color (sRGB) and specular (non-color) inputs...

For now using a basic mechanism for that, might generate several extra,
uneeded copies of the image ID, but that?s better than breaking custom
settings and such.

Note that while this will modify the behavior of the impporters using
that node wrapper, no change should be needed in IO add-ons themselves.

Commit Details:

Full Hash: 4079067c88e8af15bcfb3ff46c3beb0921507b73
Parent Commit: cceea64
Committed By: YimingWu
Lines Changed: +15, -1

1 Modified Path:

/release/scripts/modules/bpy_extras/node_shader_utils.py (+15, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021