Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: seonr on December 25, 2012, 01:03:35 AM

Title: Weird clipping on UIPanels....
Post by: seonr on December 25, 2012, 01:03:35 AM
So I am experiencing some weird clipping in UIPanels, where it kinda works when I am no dragging anything, but when I drag the contents (of a UIGrid) everything is show (no clipping) but when I left go of the mouse button, I get some flickering and then contents clips again... kinda.

Example video can be found here...
https://dl.dropbox.com/u/4779625/Weird%20Clipping%20UIPanel.mov

Anyone with some ideas on why this is happening and how ti fix it?

BTW NGUI 2.2.6c, Unity 4.0f7, example video is on OSX platform in Unity with no Graphics emulation set.
Title: Re: Weird clipping on UIPanels....
Post by: PoN on December 25, 2012, 05:56:34 AM
Check your resize script on ClipPanel and delete if has.
Title: Re: Weird clipping on UIPanels....
Post by: seonr on December 26, 2012, 01:17:14 AM
Turns out it was some optimisations I made to the Shaders. It's a pity the shipping shaders are not at all optimised for performance on Mobile.