I want to read Hald clut image for colour correction in GLSL. I found this article http://www.quelsolaar.com/technology/clut.html but it is using 3D texture to read data from clut image but i want to read it using 2D texture. I know how to read 8*8 LUT file but not this(8*64) one.
Can anyone help me reading this clut file?
Ref on how to read LUT(8*8) file: https://github.com/CyberAgent/android-gpuimage/blob/develop/library/src/jp/co/cyberagent/android/gpuimage/GPUImageLookupFilter.java