Fix #33809: Wrong exposure affect after alpha premul changes
Exposure shouldn't affect on alpha channel, only RGB shall be affected by exposure. Was a regression since recent alpha premul pipeline changes.
This commit is contained in:
@@ -698,7 +698,7 @@ static OCIO_ConstProcessorRcPtr *create_display_buffer_processor(const char *vie
|
||||
if (exposure != 0.0f) {
|
||||
OCIO_MatrixTransformRcPtr *mt;
|
||||
float gain = powf(2.0f, exposure);
|
||||
const float scale4f[] = {gain, gain, gain, gain};
|
||||
const float scale4f[] = {gain, gain, gain, 1.0f};
|
||||
float m44[16], offset4[4];
|
||||
|
||||
OCIO_matrixTransformScale(m44, offset4, scale4f);
|
||||
|
Reference in New Issue
Block a user