By dexmatthew
on Wed, 06/20/2012 - 17:11
Hi,
Im using NGUI for my 2D interface ([url]http://www.tasharen.com/?page_id=32[/url]), a popular tool for Unity. When I run one of the sample applications (like image-targets) and add a button/label, it displays perfectly fine on the Android build (on top of the camera view). However, on iOS all of my button/label textures come up black. This is not the case in either version for GUIText/GUITexture objects (built into Unity)
Could it be with how the ViewController is setup? Anyone have any ideas on what may be wrong? Thanks.
Re: Black textures - Using NGUI with iOS version
Re: Black textures - Using NGUI with iOS version
Re: Black textures - Using NGUI with iOS version
Re: Black textures - Using NGUI with iOS version
Black textures - Using NGUI with iOS version
We're having the same problem with Android now!
Which shader did you choose then? All the differents ones seem to really change the look of the UI
Thanks!
Black textures - Using NGUI with iOS version
For anyone else that comes across this issue, a fix that worked much better for me was simply forcing Unity to include the shaders provided by NGUI.
Go to: Edit > Project Settings > Graphics
Drag in any of the shaders you're using with NGUI and it should all work fine..