Packed precomputed gradients into smaller texel size

OpenGL pixel format GL_RGBA2 is perfect for precomputed gradients but
WebGL doesn't have it. So I used WebGL version of GL_RGBA4 to pack data
as tightly as possible, saving at least 16MB of GPU memory.