Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: basil_11 on January 26, 2013, 04:37:28 AM

Title: USING MULTIPLE ATLAS PROBLEM
Post by: basil_11 on January 26, 2013, 04:37:28 AM
Hi, I am new in NGUI and I encountered problem using multiple atlas
ex.

I used Atlas1 and Atlas2 i  the same Scene

I added a texture from Atlas1 with position.z 0f

and again added a texture from Atlas2 with position.z -2f

and the last texture I added is from Atlas1 with position.z -3f


since Atals2 is in between the atlas1 from position.z 0f and position.z -3f

texture from Atlas1 position.z 0f is still seen even Atlas2 already covered it.

Imagine 3d position
Atlas1(position.z  is 0) ---->Atlas2(position.z  is -2)--->Atlas1(position.z  is -3)


how can I prevent this kind of situation? thanks in advance
Title: Re: USING MULTIPLE ATLAS PROBLEM
Post by: basil_11 on January 26, 2013, 05:00:05 AM
I will answer my question :)

 ;D

I just read something from the forum, this is for those who don't know yet the answer and found this TOPIC

find time to read this: http://www.tasharen.com/forum/index.php?topic=767.0