|
Math v0.2.0
SIMD optimized C++ mathematics library
|
Common color space conversion functions. More...
#include "math/matrix.hpp"Variables | |
| constexpr float | defaultGamma = 2.2f |
| Default gamma correction value. | |
Common color space conversion functions.
|
constexpr |
Default gamma correction value.
The default gamma correction value of 2.2 is chosen because it approximates the natural response curve of CRT monitors, which were the most common display technology when gamma correction became standard. Modern displays have inherited this standard, as it closely matches how human vision perceives brightness non-linearly.