HALD
wayneashleyberry opened this issue · 0 comments
wayneashleyberry commented
- Parse HALD images
- Convert CUBE to HALD
float x = clamp(g % 8 * 64 + r, 0.0, 511.0);
float y = clamp(floor(g/8.0f) + b * 8, 0.0, 511.0);
uchar4 lutPoint = rsGetElementAt_uchar4(lut, x, y);