Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Johnnemann on July 31, 2012, 02:24:47 PM
-
Hey,
I've got a fairly simple scene with a draggable panel and three sub-panels. (So that I can have one panel visible at a time, and flick left/right to change panels). This works fine on PC, but when I put it on iOS dragging causes the screen to draw with all sorts of vibrating, smeared versions of the elements. It's like some buffer isn't being cleared correctly.
Any ideas?
Thanks,
Johnnemann
-
Smeared elements usually means there's no camera clearing the last draw. Check your cameras.
-
Thanks for the info. What should I check for? I've only got the one camera, and its clear flags are set to "depth only".
-
I believe I've solved this. I think it was happening because I had nothing for the camera to clear to, basically. Unused space between elements wasn't being cleared, because I only had the one camera. Setting up a background image so that there wasn't a gap of "nothingness" fixed the issue.