1
0
Fork 0

Merge pull request #73136 from clayjohn/LightmapGI-exr

Set Default compression to VRAM uncompressed for LightmapGI
This commit is contained in:
Rémi Verschelde 2023-02-12 10:35:58 +01:00 committed by GitHub
commit c3a04f71fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -163,7 +163,8 @@ Array LightmapGIData::_get_light_textures_data() const {
config->set_value("remap", "importer", "2d_array_texture");
config->set_value("remap", "type", "CompressedTexture2DArray");
if (!config->has_section_key("params", "compress/mode")) {
config->set_value("params", "compress/mode", 2); //user may want another compression, so leave it be
// User may want another compression, so leave it be, but default to VRAM uncompressed.
config->set_value("params", "compress/mode", 3);
}
config->set_value("params", "compress/channel_pack", 1);
config->set_value("params", "mipmaps/generate", false);