Added GLSL support for images with 4 channels.