hdr image loading support; bc6h image loading fix; spherical envmap support;

This commit is contained in:
Turánszki János
2022-12-08 12:30:11 +01:00
parent 06e407ff6c
commit dc775a7bd5
14 changed files with 63 additions and 14 deletions
+2 -2
View File
@@ -273,8 +273,8 @@ void WeatherWindow::Create(EditorComponent* _editor)
{
wi::helper::FileDialogParams params;
params.type = wi::helper::FileDialogParams::OPEN;
params.description = "Cubemap texture";
params.extensions.push_back("dds");
params.description = "Image file (cube or spherical map)";
params.extensions = wi::resourcemanager::GetSupportedImageExtensions();
wi::helper::FileDialog(params, [=](std::string fileName) {
wi::eventhandler::Subscribe_Once(wi::eventhandler::EVENT_THREAD_SAFE_POINT, [=](uint64_t userdata) {
auto& weather = GetWeather();