![Image](https://c2.staticflickr.com/6/5749/23013187954_e27432eb7a_z.jpg)
![Image](https://c1.staticflickr.com/1/632/23614856466_8ed1409a56_z.jpg)
![Image](https://c2.staticflickr.com/6/5722/23272992369_54af0ffda4_z.jpg)
![Image](https://c2.staticflickr.com/6/5759/23273007339_654ba3dfd3_z.jpg)
![Image](https://c1.staticflickr.com/1/579/23014289513_d56604a1d0_z.jpg)
![Image](https://c1.staticflickr.com/1/769/23640973785_cb57902e2f_z.jpg)
![Image](https://c2.staticflickr.com/6/5794/23345265070_ce5d03d091_z.jpg)
Flickr is a nice site for image hosting, but the compression quality they use is noticeably lacking...
Code: Select all
color = 1 - pow(2.718, - color * exposure);
Code: Select all
color.a = dot(color.rgb, 0.333); // max(color.r, max(color.b, color.g)) or luma
color.a *= 1/ (color.a + 1.0);
exposure = lerp(0.9, 5.0, color.a); // this will lerp between 2 graphs shown above, depending on color brightness, adding more contrast to the image 1st value is dark areas exposure, second - bright. However i prefer to use palette to adding contrast to image
color.rgb = 1 - exp(-color * exposure); // this is same as pow(2.718, - color * exposure), however i found that modifying pow basement could be usefull too, yet not realistic.