mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Fix highlight power
This commit is contained in:
parent
b240fc8459
commit
d382e0f14a
@ -41,7 +41,6 @@ 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;
|
|
||||||
|
|
||||||
// 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