Basis Universal (#313)

* added basis-universal library and KHR_texture_basisu gltf support

* fix

* added basisu license

* added basis transcode;
added basis encode;
added ktx2 encode;
resource manager file types query;

* added BC decompressor

* added lightmap compression BC6;
added DirectXTex BC libs;

* version bump

* removed directxtex, using simpler lightmap compression instead

* fix

* added ktx2 conv button; normal maps fix;

* don't rely on zero-initialization of graphics resources

* don't always enable vrs classification
This commit is contained in:
Turánszki János
2021-09-19 17:07:12 +02:00
committed by GitHub
parent da1131686f
commit 100e6b6c97
101 changed files with 133246 additions and 335 deletions
+1 -6
View File
@@ -258,12 +258,7 @@ void LightWindow::Create(EditorComponent* editor)
wiHelper::FileDialogParams params;
params.type = wiHelper::FileDialogParams::OPEN;
params.description = "Texture";
params.extensions.push_back("dds");
params.extensions.push_back("png");
params.extensions.push_back("jpg");
params.extensions.push_back("jpeg");
params.extensions.push_back("tga");
params.extensions.push_back("bmp");
params.extensions = wiResourceManager::GetSupportedImageExtensions();
wiHelper::FileDialog(params, [this, light, i](std::string fileName) {
wiEvent::Subscribe_Once(SYSTEM_EVENT_THREAD_SAFE_POINT, [=](uint64_t userdata) {
light->lensFlareRimTextures[i] = wiResourceManager::Load(fileName, wiResourceManager::IMPORT_RETAIN_FILEDATA);