does it work if `lut` isn't continuous?