mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Did check. It is right.
This commit is contained in:
parent
98fb376545
commit
883de380fc
@ -37,7 +37,7 @@ void colorclip(float4 *pixbuf, float gamma, float vibrancy, float highpow,
|
|||||||
pix.x *= newls;
|
pix.x *= newls;
|
||||||
pix.y *= newls;
|
pix.y *= newls;
|
||||||
pix.z *= newls;
|
pix.z *= newls;
|
||||||
maxc *= newls; // TODO: check this. I think it's right, though.
|
maxc *= newls;
|
||||||
|
|
||||||
// Reduce saturation (according to the HSV model) by proportionally
|
// Reduce saturation (according to the HSV model) by proportionally
|
||||||
// increasing the values of the other colors.
|
// increasing the values of the other colors.
|
||||||
|
Loading…
Reference in New Issue
Block a user