Skip to content

Commit d1c210f

Browse files
authored
Backport CC matrix fix to legacy 1.38 branch (#2096)
Backporting #1960 to legacy 1.38 branch. This feels like a pretty easy bug fix backport that would be to everyones benefit.
1 parent ae9f1d7 commit d1c210f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libraries/cmlib/cmlib_ng.mtlx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296

297297
<nodegraph name="NG_srgb_displayp3_to_lin_rec709_color3" nodedef="ND_srgb_displayp3_to_lin_rec709_color3">
298298
<constant name="mat" type="matrix33">
299-
<input name="value" type="matrix33" value="1.22493029, -0.22492968, 0.00000006, -0.04205868, 1.04205894, -0.00000001, -0.01964128, -0.07864794, 1.09828925" />
299+
<input name="value" type="matrix33" value="1.22493029, -0.04205868, -0.01964128, -0.22492968, 1.04205894, -0.07864794, 0.00000006,-0.00000001, 1.09828925" />
300300
</constant>
301301
<!-- Use srgb_texture_to_lin_rec709 to convert from sRGB to Lin before passing to the mat conversion -->
302302
<srgb_texture_to_lin_rec709 name="srgb_transform" type="color3">
@@ -333,7 +333,7 @@
333333

334334
<nodegraph name="NG_lin_displayp3_to_lin_rec709_color3" nodedef="ND_lin_displayp3_to_lin_rec709_color3">
335335
<constant name="mat" type="matrix33">
336-
<input name="value" type="matrix33" value="1.22493029, -0.22492968, 0.00000006, -0.04205868, 1.04205894, -0.00000001, -0.01964128, -0.07864794, 1.09828925" />
336+
<input name="value" type="matrix33" value="1.22493029, -0.04205868, -0.01964128, -0.22492968, 1.04205894, -0.07864794, 0.00000006,-0.00000001, 1.09828925" />
337337
</constant>
338338
<convert name="asVec" type="vector3">
339339
<input name="in" type="color3" interfacename="in" />

0 commit comments

Comments
 (0)