You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that after #1757 the color space of a file is not passed to the shadernode input anymore. This breaks OSL renderers relying on having the color space attribute passed to the texture call for fully-featured OCIO transforms and filtering aware color conversion.
The following simple patch restores the functionality but might cause a double conversion if a user is using emitted transforms on top of the OSL texture color transform. Maybe it would be better to not optionally not emit color transform for files when using the OSL generator by default ?
From what I recall it is either the transform is inserted into the shader code or the "colorspace" metadata is added to the texture call.
If it's possible to get double transforms than I agree that by default only one should be allowed with "colorspace" being emitted in the texture call by default.
I think when this was added OSL had not added support for this and this only worked for Arnold, thus the case may have not been testable with testrender as part of unit tests.
It seems that after #1757 the color space of a file is not passed to the shadernode input anymore. This breaks OSL renderers relying on having the color space attribute passed to the texture call for fully-featured OCIO transforms and filtering aware color conversion.
The following simple patch restores the functionality but might cause a double conversion if a user is using emitted transforms on top of the OSL texture color transform. Maybe it would be better to not optionally not emit color transform for files when using the OSL generator by default ?
The text was updated successfully, but these errors were encountered: