It's technically more correct to do it this way, difference is extremely subtle
This commit is contained in:
parent
74a21a4d23
commit
069cf7e81f
|
@ -120,7 +120,7 @@ void main()
|
||||||
// For more information, see this desmos demonstrating this scaling process:
|
// For more information, see this desmos demonstrating this scaling process:
|
||||||
// https://www.desmos.com/calculator/syjyrjsj5c
|
// https://www.desmos.com/calculator/syjyrjsj5c
|
||||||
const float luminance = ictcp_color.x;
|
const float luminance = ictcp_color.x;
|
||||||
ictcp_color *= HLG_f(pow(AMPLIFICATION, luminance));
|
ictcp_color *= pow(HLG_f(AMPLIFICATION), luminance);
|
||||||
|
|
||||||
// Convert back to Linear RGB and output the color to the display.
|
// Convert back to Linear RGB and output the color to the display.
|
||||||
// We use hdr_paper_white to renormalize the color to the comfortable
|
// We use hdr_paper_white to renormalize the color to the comfortable
|
||||||
|
|
Loading…
Reference in New Issue