Cubemap processor aimed at converting textures to optimized .ktx2 formats for Kitten Space Agency.
Note - You MUST have installed the Khronos KTX Tools AND have added it to Path, or this will not work: https://github.com/KhronosGroup/KTX-Software/releases
The tool can process equirectangular (2:1) textures and convert them to cubemaps. Importing an equirectangular automatically converts it to a cubemap in OpenGL's standard cubemap orientation. Uses the Equirect. Import Options when importing equirectangular textures. Unaffected by the source orientation option.
The tool can open existing cubemaps by selecting all six cubemap faces in the file dialogue. The faces can either be in the OpenGL standard cubemap orientation or KSA's CCF coordinate frame. The Source Orientation option must be set according to the cubemap orientation stored on disk.
When importing an equirectangular texture, toggles whether to use nearest neighbour filtering when automatically converting to a cubemap. Generally, this should only be used if importing a Biome ID texture.
The orientation of the cubemap currently being imported. Options are OpenGL or KSA CCF.
Exports as uncompressed R16UNorm, mipmaps, linear.
Exports as BC5, mipmaps, linear.
Exports as BC7, mipmaps, sRGB.
Exports as uncompressed R8G8B8A8, no mipmaps, linear.
Exports as uncompressed R8G8B8A8, mipmaps, linear.
The orientation to transform the cubemap into when exporting. Options are OpenGL or KSA CCF.
The resolution for each exported cubemap face. Currently unused, and will export based on whatever the import resolution was. For equirectangular textures, this will be 1/4 the height.
This project depends on ImageSharp (Six Labors) licensed under the Apache License 2.0.
Copyright (c) Six Labors https://github.com/SixLabors/ImageSharp