###Dither-16bit的抖动优化
使用小插件, keijiro 的 github:unity-dither4444
将需要优化的大图后缀改为.Dither.png。
图片资源的 [硬盘/内存] 大小和图片设置的格式有关
###实测
IOS中质量堪比trueColor,在pvrtc质量较差的情况下使用
Android中与ETC2差距不大,但更消耗内存
结论:仅IOS可用
###优化
对IOS和Android区别对待,代码如下
using UnityEngine;
using UnityEditor;
using System.Collections;
class TextureModifier : AssetPostprocessor
{
void OnPreprocessTexture()
{
if (assetPath.EndsWith ("Dither.png")) {
var importer = (assetImporter as TextureImporter);
importer.textureFormat = TextureImporterFormat.RGBA32;
importer.SetPlatformTextureSettings (BuildTarget.Android.ToString(), 2048, Te