Author Topic: Recommended way to handle large textures  (Read 3549 times)

dlewis

  • Guest
Recommended way to handle large textures
« on: April 16, 2012, 01:28:43 AM »
How would you recommend I handle large textures with NGUI?

I'm looking at having a background texture for the menu in my game which will most likely run 720p. Should I create one atlas that contains this image and not much else (or anything else)? [I saw a post elsewhere where you recommended textures shouldn't be much more than 1024*1024 which is why I'm questioning it].

Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Recommended way to handle large textures
« Reply #1 on: April 16, 2012, 01:29:44 AM »
No, just use a UITexture to draw it. I do that with the backgrounds for most of the examples in NGUI (the green one).

rain

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 79
    • View Profile
Re: Recommended way to handle large textures
« Reply #2 on: April 16, 2012, 09:09:06 AM »
Is each UITexture draw a plus draw call?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Recommended way to handle large textures
« Reply #3 on: April 16, 2012, 09:48:02 AM »
Yup.