]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Allow DXT1 for textures that have alpha (e.g. grates).
authorRudolf Polzer <rpolzer@google.com>
Fri, 19 Mar 2021 16:27:36 +0000 (09:27 -0700)
committerRudolf Polzer <rpolzer@google.com>
Fri, 19 Mar 2021 16:27:36 +0000 (09:27 -0700)
Should save some VRAM.

misc/tools/cached-converter.sh

index cb90595351204fd0218bdc5418c8cef0be42fbb1..a538c70981f6ec0c7517f4f3559d3125dda0efa7 100755 (executable)
@@ -21,8 +21,8 @@ set -e
 : ${del_src:=false}
 : ${git_src_repo:=}
 : ${dds_noalpha:=dxt1}
-: ${dds_prealpha:=dxt2 dxt4}
-: ${dds_sepalpha:=dxt3 dxt5}
+: ${dds_prealpha:=dxt1 dxt2 dxt4}
+: ${dds_sepalpha:=dxt1 dxt3 dxt5}
 
 selfprofile_t0=`date +%s`
 selfprofile_step=init