Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: dis on June 14, 2013, 11:23:36 PM

Title: Combine 2 textures and add the label, then save to jpg?
Post by: dis on June 14, 2013, 11:23:36 PM
Hello!

I need to combine 2 textures (based of transparency color), add some text (UILabel?) and save the result to JPG.

Is it possible to do with NGUI by easy way?
Title: Re: Combine 2 textures and add the label, then save to jpg?
Post by: ArenMook on June 15, 2013, 06:50:32 AM
NGUI has nothing to do with it. Unity -- yes. Set up your UI camera so that it renders to texture.
Title: Re: Combine 2 textures and add the label, then save to jpg?
Post by: dis on June 15, 2013, 11:33:41 AM
Thanks for the answer. NGUI is great tool and I suspected it could do something like that (combining some bitmaps) for decreasing the draw call count.

Renders works only in PRO versions of Unity but I have Std.

OK, I will search for the other solution.
Title: Re: Combine 2 textures and add the label, then save to jpg?
Post by: Nicki on June 15, 2013, 11:56:11 AM
Look at http://docs.unity3d.com/Documentation/ScriptReference/Texture2D.html