Disable "punchy" correction and add gamma correction

This commit is contained in:
Gary M
2024-05-31 19:40:50 -07:00
parent 1de395bc7b
commit 063a5d1ae4

View File

@@ -238,10 +238,12 @@ float3 TonemapAGX(float3 linearColor)
+ 0.1191 * color
- 0.00232;
color = agxAscCdl(color, float3(1.0, 1.0, 1.0), float3(0.0, 0.0, 0.0), float3(1.35, 1.35, 1.35), 1.4);
// color = agxAscCdl(color, float3(1.0, 1.0, 1.0), float3(0.0, 0.0, 0.0), float3(1.35, 1.35, 1.35), 1.4);
color = mul(color, AgXOutsetMatrix);
color = pow(max(float3(0.0, 0.0, 0.0), color), float3(2.2, 2.2, 2.2));
color = clamp(color, 0.0, 1.0);
return color;