Use texture1D for colormapping.