From 9d257f10c0b6d180c88dc43aa76db2fe83e2ca29 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Thu, 27 Apr 2023 10:54:25 -0700 Subject: Use DXT1 when compressing PNGs with RGB format This results in much smaller file sizes with the same quality (cherry picked from commit f84c6df8d1aec35fe53521f241b26fc5312d26e3) --- modules/etcpak/image_compress_etcpak.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/etcpak/image_compress_etcpak.cpp b/modules/etcpak/image_compress_etcpak.cpp index 16a59d3880..14cce2686c 100644 --- a/modules/etcpak/image_compress_etcpak.cpp +++ b/modules/etcpak/image_compress_etcpak.cpp @@ -66,7 +66,7 @@ EtcpakType _determine_dxt_type(Image::UsedChannels p_channels) { case Image::USED_CHANNELS_RG: return EtcpakType::ETCPAK_TYPE_DXT5_RA_AS_RG; case Image::USED_CHANNELS_RGB: - return EtcpakType::ETCPAK_TYPE_DXT5; + return EtcpakType::ETCPAK_TYPE_DXT1; case Image::USED_CHANNELS_RGBA: return EtcpakType::ETCPAK_TYPE_DXT5; default: -- cgit v1.2.3