@@ -133,6 +133,7 @@ namespace FlaxEditor.Content.Import
|
||||
FileTypes["dds"] = ImportTexture;
|
||||
FileTypes["hdr"] = ImportTexture;
|
||||
FileTypes["raw"] = ImportTexture;
|
||||
FileTypes["exr"] = ImportTexture;
|
||||
|
||||
// Models
|
||||
FileTypes["obj"] = ImportModel;
|
||||
|
||||
@@ -128,6 +128,11 @@ namespace FlaxEditor.Content.Import
|
||||
_settings.Settings.Type = TextureFormatType.HdrRGBA;
|
||||
_settings.Settings.Compress = false;
|
||||
}
|
||||
else if (extension == ".exr")
|
||||
{
|
||||
// HDR image
|
||||
_settings.Settings.Type = TextureFormatType.HdrRGBA;
|
||||
}
|
||||
else if (extension == ".hdr")
|
||||
{
|
||||
// HDR sky texture
|
||||
|
||||
Reference in New Issue
Block a user