Fix KTX texture format for latest version
This commit is contained in:
committed by
Philip Rideout
parent
3862b44ef4
commit
e14c8258f7
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user