uniform sampler2D _IDL_ImageTexture;
uniform sampler1D lut;

void main(void) 
{
    float i = texture2D(_IDL_ImageTexture, gl_TexCoord[0].xy).r;
    gl_FragColor = texture1D(lut, i);
}
