Blender Git Commit Log

Git Commits -> Revision 711960b

Revision 711960b by Philipp Oeser (master)
July 4, 2019, 10:32 (GMT)
node_shader_utils: add possibility to override image colorspace
'is_data'

since the move from 'cycles_shader_compat' (2.79) to
'PrincipledBSDFWrapper' (2.8) we lost the ability to (automatically) set
this colorspace setting for imported textures. This was useful for e.g.
normalmaps to always assume 'Non-Color' data.

This adds the possibility to overide and uses this for normalmaps...

Fixes T66368

Reviewers: mont29, brecht

Maniphest Tasks: T66368

Differential Revision: https://developer.blender.org/D5176

Commit Details:

Full Hash: 711960b3c234d02ac11f11a22fd15436bdd489d5
Parent Commit: 669d50f
Lines Changed: +7, -1

1 Modified Path:

/release/scripts/modules/bpy_extras/node_shader_utils.py (+7, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021