Tom94 / tev

High dynamic range (HDR) image viewer for graphics people
BSD 3-Clause "New" or "Revised" License
1.02k stars 86 forks source link

Fix black pixels upon too bright HDR colors #167

Closed Tom94 closed 2 years ago

Tom94 commented 2 years ago

Fixes https://github.com/Tom94/tev/issues/166 by clamping shaded pixel values to [-64,64]. While this value may seem somewhat low, I've verified that it doesn't lead to visible clipping on my M1 Max macbook even at low screen brightness values coupled with high exposures. (At least this screen seems to internally cap brightness ~16).