Color ramp with constant interpolation must bypass texture filtering and use nearest neighboor sampling in order to appear correctly sharp. This patch use a GLSL hack to use nearest sampling on thoses particular color band.