MaterialX
MaterialX copied to clipboard
Color Management: `colorspace` not parsed properly in some places
A few things found while reviewing colour management support. Could be more.
- The default value of "none" is not supported. It is being tested as a color space for shader generation.
- Surface shader node creation does not consider inheritance of
colorspace
(usesgetColorSpace()
vsgetActiveColorSpace()
). - Shader translators and texture baker also do not consider inheritance. Also includes using
getActiveColorSpace()
even at document level I believe if there are include files.