Hello Guest

Author Topic: White sprites  (Read 4449 times)

jc_ospina

  • Newbie
  • *
  • Posts: 3
    • View Profile
White sprites
« on: May 28, 2013, 04:26:24 pm »
Hi guys

First of all, congratulations for 2DToolkit, it's a great tool and has saved me a lot of work. I'm working on an interactive tale for kids, i use a lot of sprites to display the different elements, that is, backgrounds, buttons, characters, etc. It works perfectly in two tablets i was using for testing, but when i install it in other devices, some of the sprites appears as white boxes, i've tried changing the images size, the atlas size for each spritecollection, applied compression, etc and eve if it fixed some of the issues, there are a lot of sprites that still appears as white boxes. I'm running out of ideas and i would appreciate any help you can give me

Thank you so much

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: White sprites
« Reply #1 on: May 28, 2013, 04:35:07 pm »
1. What is the resolution of the sprite collection (the actual texture size), and what devices does it break on?
2. Are you using the premultiplied alpha shader (tk2d/PremulVertexColor)?

jc_ospina

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: White sprites
« Reply #2 on: May 28, 2013, 05:02:11 pm »
Hi, thanks for your quick reply.

  • It doesn't work in Galaxy Nexus, Nexus 7 and Galaxy Tab (this are the ones i have available for testing) and works fine on a Blue S9 and Aprix. The texture size is 2048x2048
  • No, i'm not using the premultiplied alpha shader

jc_ospina

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: White sprites
« Reply #3 on: May 28, 2013, 06:20:57 pm »
It was solved, actually there was some atlas bigger than 2048x2048

Thank you

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: White sprites
« Reply #4 on: May 28, 2013, 06:36:22 pm »
Glad its sorted :)