Map a scalar data range to the uScalarMin/uScalarScale uniform pair. Degenerate ranges (max − min < eps) map every value to the LUT midpoint.
uScalarMin
uScalarScale
Map a scalar data range to the
uScalarMin/uScalarScaleuniform pair. Degenerate ranges (max − min < eps) map every value to the LUT midpoint.