diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-10-17 12:35:38 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-10-17 12:43:11 +0300 |
commit | d89b65cc91a63544168b5330ba1a288f5c826e15 (patch) | |
tree | 176ef875d0b11443a669e94afceadb9ecb8dd404 /source/blender/blenkernel/intern/armature_update.c | |
parent | dffe702d782990b2b6fd36767254d35ab47f25eb (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/intern/armature_update.c')
0 files changed, 0 insertions, 0 deletions