Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: adsith on January 21, 2014, 07:05:14 PM
-
Hello. I'm having an issue with textures in my game when I run it on Android. Some of the textures (being them in an Atlas or not) are producing a weird transparency effect. If you see the attachment, the right side is the rare effect (Android) while the left side is how it is supposed to look like (that screenshot was taken from the iOS ver.).
I've tried changing texture Z position, shaders, and widget depth and nothing seems to be fixed - sometimes it does, yet for a briefly time or worst, only a small part -. I really don't know what else to do in this case.
Thanks.
-
It seems like a z-buffer precision problem I had. Try to adjust the depth value of your cameras by giving wider gap of depth value between cameras.
-
What version is this on? I'm guessing some pre-3.0 one because NGUI's shaders don't write to depth, and the "Depth Write" option on UIPanel was removed a long time ago.