shMin constant

double const shMin

Quantization range for residual SH (l=1..3). Pack: byte = round((clamp(c, shMin, shMax) - shMin) * 255 / (shMax - shMin)) Unpack: value = byte * 8/255 - 4

Implementation

static const double shMin  = -4;