Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Wisteso on October 21, 2014, 06:20:44 PM
-
Changing the atlas to RGBA is easy enough, but I thought NGUI may want to be a little smarter about this. Perhaps just setting the format to Automatic Truecolor.
See here for more details on the issues iOS has with ARGB... http://answers.unity3d.com/questions/771961/unity-ios-texture-format.html
-
There is no such setting via code. Have a look at Unity's TextureFormat enum. You need to specify the exact format. There is no "Automatic Truecolor". That's only in inspector.
-
There is no such setting via code. Have a look at Unity's TextureFormat enum. You need to specify the exact format. There is no "Automatic Truecolor". That's only in inspector.
NGUIEditorTools.cs
lines 447 and line 482:
settings.textureFormat = TextureImporterFormat.ARGB32;
can be changed to:
settings.textureFormat = TextureImporterFormat.AutomaticTruecolor;
i agree with Wisteso, it's better if format is automatic truecolor.
-
Hmm... either I was blind or I was looking at something else. I'll change it to AutomaticTruecolor, thanks.