1
NGUI 3 Support / How to add secondary texture to UITexture component?
« on: August 14, 2015, 04:54:07 AM »
Hi, In order to reduce memory size used by atlas, every atlas in my project is separated into two textures using ImageMagic, one texture contains only RGB channels and the other contains only alpha channel, both of them are compressed in ETC4_RGB format. And I also made some changes to "Unlit - Transparent Colored.shader(1/2/3)" to combine rgb and alpha value into the final fragment color. Everything works fine on UISprite, but I don't know how to change UITexture to use the alpha-texture, any ideas?
Thanks.
Thanks.
