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).
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).