Hey, I'm having a bit of trouble getting my sprites to render correctly when they are in multiple atlases. Here's an outline of how the scene is set up though.
- I have 2 different sprites, the card sprite, and a large semi transparent sprite used to grey out the entire screen.
- I have 2 copies of the same card sprite in the scene. One is positioned in front of the giant screen block texture, and the other is positioned behind it.
- The card sprite is in an atlas, and the giant screen block texture is added as a simple texture.
- The panel that these objects are in has depth sorting enabled, otherwise both of the textures draw either behind the screen block, or in front of it.
Is there any way of getting this set up to work properly without putting my screen block texture into the same atlas that my cards are in? I notice this same problem with fonts. I have some large fonts in the game and I can't possibly hope to have everything combined in the same atlas due to the single texture dimension limitations.
I created a demo scene to highlight this problem, but I wasn't sure on how to attach it due to the fact that it contains the full version of NGUI and I shouldn't be posting that where anyone can access it. Let me know if you need a demo scene though and we can figure out some way of getting it to you.
Thanks for your help!