LUT to KTX2 texture
Drop LUT file(s) here
Accepts 1D and 3D LUTs in ".cube" format.
Inputs
Outputs
Using this project
Drop 1D or 3D 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
...
Outputs are uncompressed KTX 2.0 textures in a 1D or 3D layout,
formatted to VK_FORMAT_R8G8B8A8_UNORM
,
VK_FORMAT_R16G16B16A16_SFLOAT
,
or VK_FORMAT_R32G32B32A32_SFLOAT
.
No files are uploaded or stored by this tool.