LUT to KTX2 texture
Drop LUT file(s) here
Accepts 1D and 3D LUTs in ".cube" format.
Inputs
Outputs
Using this converter
Drop 1D or 3D Lookup Tables (LUTs), in .cube format, in the box above. Each input LUT will be converted to a 1D or 3D texture, in KTX 2.0 (.ktx2) format. These textures are typically smaller files, will be parsed more quickly, and can be uploaded to the GPU at runtime without expensive pixel-by-pixel processing.
For reference, headers from supported 1D and 3D LUT inputs should look like the samples below:
LUT_1D_SIZE 4096
0.000000 0.000000 0.000000
0.000014 0.000014 0.000014
0.000027 0.000027 0.000027
...
LUT_3D_SIZE 65
0.000176 0.000176 0.000176
0.015625 0.000176 0.000176
0.031250 0.000176 0.000176
...
If LUTs specify domains min/max, that information is not included in output files. No files are uploaded or stored by this tool.