Fix KTX texture format for latest version

This commit is contained in:
Aleksi Sapon
2020-07-22 13:20:54 -07:00
committed by Philip Rideout
parent 3862b44ef4
commit e14c8258f7
+2 -2
View File
@@ -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,