Author Topic: NGUI transparent shaders black on iPhone4?  (Read 2682 times)

Dauntless

  • Guest
NGUI transparent shaders black on iPhone4?
« on: July 16, 2013, 08:59:22 AM »
My NGUI transparent shaders appear black on iPhone4 but are fine on the iPhone4S and iPhone5.  How can I fix this please? Thanks

 

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI transparent shaders black on iPhone4?
« Reply #1 on: July 16, 2013, 10:52:53 AM »
Most common cause -- using a texture larger than the max texture dimensions supported by the device. My guess is iPhone4 only supports 2048x2048 and your atlas texture is larger than that.

Dauntless

  • Guest
Re: NGUI transparent shaders black on iPhone4?
« Reply #2 on: July 16, 2013, 11:58:40 AM »
Thanks Aren, yeah that was the problem.  I went back and created another smaller Atlas and it works now.  Thanks again!