forked from Dynamitos/Seele
More ray tracing changes
This commit is contained in:
1 parent
a9089bd997
commit
8387ad6ffe
33 files changed
+527
-292
No files matched your search
@@ -125,12 +125,12 @@ void TextureLoader::import(TextureImportArgs args, PTextureAsset textureAsset) {
|
||||
.structSize = sizeof(ktxBasisParams),
|
||||
.uastc = true,
|
||||
.threadCount = std::thread::hardware_concurrency() - 2,
|
||||
.uastcFlags = KTX_PACK_UASTC_LEVEL_FASTER,
|
||||
.uastcFlags = KTX_PACK_UASTC_LEVEL_DEFAULT,
|
||||
.uastcRDO = true,
|
||||
};
|
||||
KTX_ASSERT(ktxTexture2_CompressBasisEx(kTexture, &basisParams));
|
||||
|
||||
KTX_ASSERT(ktxTexture2_DeflateZstd(kTexture, 10));
|
||||
KTX_ASSERT(ktxTexture2_DeflateZstd(kTexture, 15));
|
||||
|
||||
char writer[100];
|
||||
snprintf(writer, sizeof(writer), "%s version %s", "SeeleEngine", "0.0.1");
|
||||
|
||||
Reference in new issue
Block a user