Skip to content

Commit

Permalink
Update cChromaticity.fx
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Oct 26, 2024
1 parent aa78d0f commit 83be77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/cChromaticity.fx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ float4 PS_Chromaticity(CShade_VS2PS_Quad Input) : SV_TARGET0
Chromaticity.rg = CColor_GetHSVfromRGB(Color).rg;
break;
case 13: // CoCg (XY)
Chromaticity.rg = CColor_GetYCOCGfromRGB(Gamma, true).yz;
Chromaticity.rg = CColor_GetYCOCGfromRGB(Gamma, true).yz + 0.5;
break;
case 14: // OKLab (AB)
Chromaticity.rg = CColor_GetOKLABfromRGB(Color).yz;
Expand Down

0 comments on commit 83be77d

Please sign in to comment.