level of 255 as the f32 a GPU reads an RGBA8 texel as.
level
double unormValue(int level) => roundToF32(level / 255.0);