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 2f63e29 commit 32ac1b3
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 @@ -70,7 +70,7 @@ float4 PS_Chromaticity(CShade_VS2PS_Quad Input) : SV_TARGET0
Chromaticity.rg = CColor_GetYCOCGfromRGB(Gamma, true).yz + 0.5;
break;
case 14: // OKLab (AB)
Chromaticity.rg = CColor_GetOKLABfromRGB(Color).yz;
Chromaticity.rg = CColor_GetOKLABfromRGB(Color).yz + 0.5;
break;
case 15: // OKLch (CH)
Chromaticity.rg = CColor_GetOKLCHfromRGB(Color, true).yz;
Expand Down

0 comments on commit 32ac1b3

Please sign in to comment.