Author Topic: Black rectangles on iPad 1st gen  (Read 4144 times)

leezhifei168

  • Guest
Black rectangles on iPad 1st gen
« on: December 25, 2012, 09:24:20 PM »
My game's UI runs perfectly fine on iPad 2 and above. But when tested on iPad 1st gen, my custom made Atlas (using Atlas make) become a bunch of black boxes:









As you can see in some of the images, the original UI provided by the NGUI package works perfectly fine, no black boxes.

I've tried changing the image compression format to be the same as the original one:
Texture Type: Texture
Wrap Mode: Clamp
Filter Mode: Trilinear
Aniso Level: 4
Max Size: 1024
Format: Truecolor

Still, the same problem still occur~ :(

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Black rectangles on iPad 1st gen
« Reply #1 on: December 25, 2012, 09:26:35 PM »
Is the shader used by your atlas different? What's the size of your atlas texture?

leezhifei168

  • Guest
Re: Black rectangles on iPad 1st gen
« Reply #2 on: December 25, 2012, 09:35:39 PM »
Is the shader used by your atlas different? What's the size of your atlas texture?

I've checked the atlas shader, it's the same: "Unlit/Transparent Coloured"
But now that I think about, can iPad 1st gen support texture size up to 4096 (because that's what the atlas texture size is)? What's the maximum size it can support? 1024?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Black rectangles on iPad 1st gen
« Reply #3 on: December 25, 2012, 09:40:51 PM »
2048 I believe. 4096 is not supported until iPad3.

leezhifei168

  • Guest
Re: Black rectangles on iPad 1st gen
« Reply #4 on: December 25, 2012, 09:49:14 PM »
2048 I believe. 4096 is not supported until iPad3.

Hmm, but so far the 4096 works fine in iPad 2. Gotta get back and make a new 2048 version for iPad 1! Thanks for the tip btw~ ^^

Btw, I uploaded a DEMO of the game to AppStore, you can have a try if you like (will have the black rectangle boxes issue if you try on iPad 1 though):
https://itunes.apple.com/us/app/little-green-hood-lite/id588214686?ls=1&mt=8

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Black rectangles on iPad 1st gen
« Reply #5 on: December 25, 2012, 09:51:33 PM »
Looks promising, but I only have android devices. :)