Add new comment

well I am not familiar with

well I am not familiar with the code base. Just wanted to leave this here. Basically, the aces target space has the wrong primaries.

You should use:
// RGB = ACES: 0.7347,0.2653 0.0,1.0 0.0001,-0.0770
// White = D60: 0.32168,0.33767

but it seems that you are using
// RGB = ACESwork: 0.713,0.293,0.165,0.83,0.128,0.044
// White = D60: 0.32168,0.33767

hope this helps