diff --git a/tools/cmgen/src/cmgen.cpp b/tools/cmgen/src/cmgen.cpp index 05b1f01a2c..15e78b5a15 100644 --- a/tools/cmgen/src/cmgen.cpp +++ b/tools/cmgen/src/cmgen.cpp @@ -933,7 +933,7 @@ void iblRoughnessPrefilter( .endianness = KtxBundle::ENDIAN_DEFAULT, .glType = KtxBundle::R11F_G11F_B10F, .glTypeSize = 1, - .glFormat = KtxBundle::R11F_G11F_B10F, + .glFormat = KtxBundle::RGB, .glInternalFormat = KtxBundle::R11F_G11F_B10F, .glBaseInternalFormat = KtxBundle::R11F_G11F_B10F, .pixelWidth = 1U << baseExp, @@ -1192,7 +1192,7 @@ void extractCubemapFaces(utils::JobSystem& js, const utils::Path& iname, const C .endianness = KtxBundle::ENDIAN_DEFAULT, .glType = KtxBundle::R11F_G11F_B10F, .glTypeSize = 1, - .glFormat = KtxBundle::R11F_G11F_B10F, + .glFormat = KtxBundle::RGB, .glInternalFormat = KtxBundle::R11F_G11F_B10F, .glBaseInternalFormat = KtxBundle::R11F_G11F_B10F, .pixelWidth = dim,