pub const LUT_SIZE: usize = 256;
LUT resolution: 256 entries span the gradient’s t, one texel per entry.
t