fixed highlight_power functionality difference between cuburn and smoulder

This commit is contained in:
erik 2011-11-03 13:18:43 -06:00
parent b240fc8459
commit 8ea057ff96

View File

@ -37,11 +37,10 @@ void colorclip(float4 *pixbuf, float gamma, float vibrancy, float highpow,
if (maxa > 1.0f && highpow >= 0.0f) {
float lsratio = powf(newls / ls, highpow);
pix.x *= newls;
pix.y *= newls;
pix.z *= newls;
maxc *= newls;
//maxc *= newls;
// Reduce saturation (according to the HSV model) by proportionally
// increasing the values of the other colors.