Unity3D ETC preview does not display ETC1 format

I am currently developing a Unity game on Android. I ran into a performance issue on some older Android phones and decided to compress all images to ETC1 format. However, every time I select ETC, the preview shows DTX5 or DTX1! Why is this happening!?

All other compressions are usually previewed except for ETC1! I ended up trying to override Android to force the texture to be force 2 in Photoshop, but nothing seems to help! Is this normal behavior? I don't actually think so if the preview shows all the other compression formats.

Here's a screenshot .

+3


source to share


1 answer


I just did some tests on my project and it seems like you cannot select ETC1 if your project target platform is not set to Android in build settings. When I set offline I could select all formats, but the preview shows DXT1 for most mobile formats (ETC1 / PVRTC / ATC). As soon as I switched the platform to Android, all assets were re-imported and the preview showed the correct format.

So make sure you select Android as your target platform in the settings. You must click the "platform switch" to apply this setting.



Another problem might be that the original image has an alpha channel. ETC1 does not support alpha channel . Try to save the image with no alpha channel. If you want alpha, you cannot use ETC1.

+3


source







All Articles